https://github.com/web-platform-tests/wpt
Revision 58127895fe8f809647dd0e098a7004c5bd47f67f authored by Ms2ger on 02 March 2017, 12:04:34 UTC, committed by Ms2ger on 02 March 2017, 12:04:34 UTC
1 parent 9e2174d
Raw File
Tip revision: 58127895fe8f809647dd0e098a7004c5bd47f67f authored by Ms2ger on 02 March 2017, 12:04:34 UTC
fixup! Use the print function in some scripts.
Tip revision: 5812789
lint
#!/usr/bin/env python
import sys

try:
    from tools.lint import lint
except ImportError:
    print("tools.lint not found.  Did you forget to run "
          '"git submodule update --init --recursive"?')
    sys.exit(2)

sys.exit(0 if lint.main() == 0 else 1)
back to top