From 2b058b36eaf80274cd386458e742d57571cb1591 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Aug 2014 21:55:43 +0200 Subject: [PATCH] Remove whitespace line ending checker (handled by pylint) --- scripts/run_checks.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 148a5cd2f..690293ed0 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -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))