##// END OF EJS Templates
changed main script to be compliant back to ipython script directory call
changed main script to be compliant back to ipython script directory call

File last commit:

r964:0a2f2117
r1822:0430a05d
Show More
check_sources.py
14 lines | 257 B | text/x-python | PythonLexer
from IPython.external.path import path
fs = path('..').walkfiles('*.py')
for f in fs:
errs = ''
cont = f.bytes()
if '\t' in cont:
errs+='t'
if '\r' in cont:
errs+='r'
if errs:
print "%3s" % errs, f