mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
lint: Refactor pyflakes to use more consistent style.
In particular, we no longer pass in the full `by_lang` object and expect it to pull out the Python piece.
This commit is contained in:
@@ -115,7 +115,7 @@ def run():
|
||||
@linter_config.lint
|
||||
def pyflakes():
|
||||
# type: () -> int
|
||||
failed = check_pyflakes(args, by_lang)
|
||||
failed = check_pyflakes(by_lang['py'], args)
|
||||
return 1 if failed else 0
|
||||
|
||||
@linter_config.lint
|
||||
|
||||
Reference in New Issue
Block a user