pep8: Add compliance with rule E261 google/google-calendar.
This commit is contained in:
		
							parent
							
								
									f097cba50d
								
							
						
					
					
						commit
						7531c4fb26
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -130,7 +130,7 @@ def populate_events(): | |||
|                 event_timezone = pytz.timezone(event["start"]["timeZone"]) | ||||
|                 # pytz timezones include an extra localize method that's not part | ||||
|                 # of the tzinfo base class. | ||||
|                 start = event_timezone.localize(start) # type: ignore | ||||
|                 start = event_timezone.localize(start)  # type: ignore | ||||
|         except KeyError: | ||||
|             # All-day events can have only a date. | ||||
|             start_naive = dateutil.parser.parse(event["start"]["date"]) | ||||
|  | @ -140,7 +140,7 @@ def populate_events(): | |||
|             calendar_timezone = pytz.timezone(feed["timeZone"]) | ||||
|             # pytz timezones include an extra localize method that's not part | ||||
|             # of the tzinfo base class. | ||||
|             start = calendar_timezone.localize(start_naive) # type: ignore | ||||
|             start = calendar_timezone.localize(start_naive)  # type: ignore | ||||
| 
 | ||||
|         try: | ||||
|             events.append((event["id"], start, event["summary"])) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Aditya Bansal
						Aditya Bansal