Use pylint.

This commit is contained in:
Ryan Dahl 2018-11-30 03:27:41 -05:00
parent d43a4be0d2
commit c5d8cf8eb6
18 changed files with 93 additions and 53 deletions

View file

@ -40,9 +40,12 @@ def run_deno(deno_exe, deno_dir=None):
run(cmd, quiet=True, env=deno_dir_env)
USAGE = "./tools/deno_dir_test.py target/debug/deno target/debug/.deno_dir"
def main(argv):
if len(sys.argv) != 3:
print "Usage ./tools/deno_dir_test.py target/debug/deno target/debug/.deno_dir"
print "Usage: " + USAGE
sys.exit(1)
deno_dir_test(argv[1], argv[2])