lint: Add --only agr to run only the specified linters.

This commit is contained in:
Aman Agrawal
2019-06-18 22:41:26 +05:30
committed by Tim Abbott
parent cf8653945f
commit 995b357cde
2 changed files with 10 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ def run():
failed = check_pep8(list(python_part2))
return 1 if failed else 0
linter_config.do_lint()
linter_config.do_lint(only=args.only)
if __name__ == '__main__':
run()