diff --git a/tools/check_sources.py b/tools/check_sources.py new file mode 100755 index 0000000..3acd2bc --- /dev/null +++ b/tools/check_sources.py @@ -0,0 +1,15 @@ +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 + \ No newline at end of file