mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
lint: Pass args instead of passing individual attributes to do_lint.
Pass the args to linter_config.do_lint.
This commit is contained in:
@@ -125,7 +125,7 @@ def run():
|
||||
# type: () -> int
|
||||
failed = check_pep8(list(python_part2))
|
||||
return 1 if failed else 0
|
||||
linter_config.do_lint(skip=args.skip, only=args.only, only_list=args.list)
|
||||
linter_config.do_lint(args)
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
|
||||
Reference in New Issue
Block a user