mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Test for tabs in tidy.py.
This commit is contained in:
parent
4ff4b5833d
commit
a283f7801b
4 changed files with 84 additions and 81 deletions
|
@ -37,6 +37,9 @@ def do_whitespace_check(name, contents):
|
|||
if line.endswith(' '):
|
||||
report_error_name_no(name, idx + 1, "trailing whitespace")
|
||||
|
||||
if '\t' in line:
|
||||
report_error_name_no(name, idx + 1, "tab on line")
|
||||
|
||||
|
||||
exceptions = [
|
||||
# Upstream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue