refactor: use one script to launch all linters (#14622)

* refactor: use one script to launch py, js, cc linters

* lint changed files as precommit hook

* fix py linter in GN build

* add overlooked files to linter search path
This commit is contained in:
Charles Kerr 2018-09-17 16:09:02 -05:00 committed by GitHub
parent ab47ad7bbc
commit eeeeae3bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 182 additions and 154 deletions

View file

@ -25,7 +25,6 @@ def start():
if __name__ == '__main__':
start()
try:
print(sys.argv)
subprocess.check_call(sys.argv[1:])
finally:
stop()