summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-09-02 23:37:14 +0200
committerBert Belder <bertbelder@gmail.com>2018-09-24 13:45:03 -0700
commit2e3a8b495d5d6c5ad595d65cedafcc2b0d75d559 (patch)
tree10938fe00a8d5a92190c478eddded382d2c7fea4 /tools/lint.py
parentbe8f49b33263238f17d8cbb334a36db6385fced2 (diff)
tools: make color output work on windows
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lint.py b/tools/lint.py
index 0ed422241..e5a4f1690 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -2,7 +2,9 @@
# Does google-lint on c++ files and ts-lint on typescript files
import os
-from util import run
+from util import enable_ansi_colors, run
+
+enable_ansi_colors()
root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
third_party_path = os.path.join(root_path, "third_party")