mirror of https://github.com/zulip/zulip.git
lint: Clean up E121 PEP-8 rule.
This commit is contained in:
parent
6f0d2a9445
commit
e9158dd520
|
@ -12,7 +12,7 @@ sys.path.insert(0, root_dir)
|
|||
|
||||
from tools.lib.test_script import (
|
||||
get_provisioning_status,
|
||||
)
|
||||
)
|
||||
|
||||
def run():
|
||||
# type: () -> None
|
||||
|
|
|
@ -87,7 +87,7 @@ def check_pep8(files):
|
|||
# ignored. It either doesn't fit with the style of the project or should
|
||||
# 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',
|
||||
'E741',
|
||||
|
||||
|
|
|
@ -403,8 +403,7 @@ def flush_stream(sender, **kwargs):
|
|||
if kwargs.get('update_fields') is None or 'name' in kwargs['update_fields'] and \
|
||||
UserProfile.objects.filter(
|
||||
Q(default_sending_stream=stream) |
|
||||
Q(default_events_register_stream=stream)
|
||||
).exists():
|
||||
Q(default_events_register_stream=stream)).exists():
|
||||
cache_delete(active_bot_dicts_in_realm_cache_key(stream.realm))
|
||||
|
||||
# TODO: Rename to_dict_cache_key_id and to_dict_cache_key
|
||||
|
|
Loading…
Reference in New Issue