mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	lint: Clean up E121 PEP-8 rule.
This commit is contained in:
		| @@ -12,7 +12,7 @@ sys.path.insert(0, root_dir) | |||||||
|  |  | ||||||
| from tools.lib.test_script import ( | from tools.lib.test_script import ( | ||||||
|         get_provisioning_status, |         get_provisioning_status, | ||||||
|     ) | ) | ||||||
|  |  | ||||||
| def run(): | def run(): | ||||||
|     # type: () -> None |     # type: () -> None | ||||||
|   | |||||||
| @@ -87,7 +87,7 @@ def check_pep8(files): | |||||||
|         # ignored. It either doesn't fit with the style of the project or should |         # ignored. It either doesn't fit with the style of the project or should | ||||||
|         # actually be cleaned up. |         # actually be cleaned up. | ||||||
|         # |         # | ||||||
|         'E121', 'E123', 'E126', 'E226', 'E241', 'E261', 'E302', |         'E123', 'E126', 'E226', 'E241', 'E261', 'E302', | ||||||
|         'E305', 'E306', 'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714', |         'E305', 'E306', 'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714', | ||||||
|         'E741', |         'E741', | ||||||
|  |  | ||||||
|   | |||||||
| @@ -403,8 +403,7 @@ def flush_stream(sender, **kwargs): | |||||||
|     if kwargs.get('update_fields') is None or 'name' in kwargs['update_fields'] and \ |     if kwargs.get('update_fields') is None or 'name' in kwargs['update_fields'] and \ | ||||||
|        UserProfile.objects.filter( |        UserProfile.objects.filter( | ||||||
|            Q(default_sending_stream=stream) | |            Q(default_sending_stream=stream) | | ||||||
|            Q(default_events_register_stream=stream) |            Q(default_events_register_stream=stream)).exists(): | ||||||
|        ).exists(): |  | ||||||
|         cache_delete(active_bot_dicts_in_realm_cache_key(stream.realm)) |         cache_delete(active_bot_dicts_in_realm_cache_key(stream.realm)) | ||||||
|  |  | ||||||
| # TODO: Rename to_dict_cache_key_id and to_dict_cache_key | # TODO: Rename to_dict_cache_key_id and to_dict_cache_key | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user