Test for tabs in tidy.py.

This commit is contained in:
Ms2ger 2014-07-11 13:18:51 +02:00
parent 4ff4b5833d
commit a283f7801b
4 changed files with 84 additions and 81 deletions

View file

@ -37,6 +37,9 @@ def do_whitespace_check(name, contents):
if line.endswith(' '): if line.endswith(' '):
report_error_name_no(name, idx + 1, "trailing whitespace") report_error_name_no(name, idx + 1, "trailing whitespace")
if '\t' in line:
report_error_name_no(name, idx + 1, "tab on line")
exceptions = [ exceptions = [
# Upstream # Upstream