##// END OF EJS Templates
whitespace cleanup
whitespace cleanup

File last commit:

r498:a63e0cbb
r501:fea958f6
Show More
check_sources.py
14 lines | 254 B | text/x-python | PythonLexer
vivainio
check_sources does some sanity checks to IPython source files
r498 from 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