Remove whitespace line ending checker (handled by pylint)

This commit is contained in:
Florian Bruhin 2014-08-06 21:55:43 +02:00
parent 1cb7b447b7
commit 2b058b36ea

View File

@ -204,10 +204,6 @@ def _check_file(fn):
elif any(line.decode('UTF-8').startswith(c * 7) for c in "<>=|"):
print("Found conflict marker in {}".format(fn))
ok = False
elif any([line.decode('UTF-8').rstrip('\r\n').endswith(c)
for c in " \t"]):
print("Found whitespace at line ending in {}".format(fn))
ok = False
elif b'set_trace()' in line and not (
fn.endswith('debug.py') or fn.endswith('run_checks.py')):
print("Found set_trace in {}".format(fn))