diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-11-30 03:27:41 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-11-30 11:33:45 -0800 |
commit | c5d8cf8eb6a6e84347b9379945f308f29a2fe5cb (patch) | |
tree | 306901036624b604e0d7d7c0e33c6d10ec39b713 /tools/lint.py | |
parent | d43a4be0d291d2cb1fb4f5a9353b509e87f849eb (diff) |
Use pylint.
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-x | tools/lint.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/lint.py b/tools/lint.py index f163a3264..e297c0478 100755 --- a/tools/lint.py +++ b/tools/lint.py @@ -3,7 +3,8 @@ # Does google-lint on c++ files and ts-lint on typescript files import os -from util import enable_ansi_colors, run +import sys +from util import enable_ansi_colors, run, find_exts enable_ansi_colors() @@ -24,3 +25,6 @@ run([ "node", tslint, "./js/**/*_test.ts", "./tests/**/*.ts", "--exclude", "**/gen/**/*.ts", "--project", "tsconfig.json" ]) + +run([sys.executable, "third_party/depot_tools/pylint.py"] + + find_exts(["tools", "build_extra"], [".py"], skip=["tools/clang"])) |