Use syntastic instead of pyflakes (supports a ton of more languages)

This commit is contained in:
amix committed 2014-02-08 10:05:16 +00:00
1 parent 8265dca5d5
commit 497b5aa4fb
193 files changed
+11942 -3531

No files matched your search

@@ -0,0 +1,13 @@
#!/usr/bin/env python
from __future__ import print_function
from sys import argv, exit
if len(argv) != 2:
exit(1)
try:
compile(open(argv[1]).read(), argv[1], 'exec', 0, 1)
except SyntaxError as err:
print('%s:%s:%s: %s' % (err.filename, err.lineno, err.offset, err.msg))