##// END OF EJS Templates
Dealing with tabs and whitespaces. Please, everybody, be careful not to...
Dealing with tabs and whitespaces. Please, everybody, be careful not to use any tabs, it a real nightmare dealing with different tabsizes.

File last commit:

r1049:c87d640e
r1105:fff47e41 merge
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