Andrew Top | 61a8495 | 2019-04-30 15:07:33 -0700 | [diff] [blame] | 1 | #!/usr/bin/env python |
2 | import sys | ||||
3 | |||||
4 | try: | ||||
5 | from tools.lint import lint | ||||
6 | except ImportError: | ||||
7 | print("tools.lint not found. Did you forget to run " | ||||
8 | '"git submodule update --init --recursive"?') | ||||
9 | sys.exit(2) | ||||
10 | |||||
11 | sys.exit(0 if lint.main() == 0 else 1) |