From a2278e738d2c657d8002c2e443f11907416c8001 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 15 Apr 2014 07:50:20 +0200 Subject: Dont check .html files anymore now that they are generated by Sphinx. --- scripts/check_sources.py | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'scripts') diff --git a/scripts/check_sources.py b/scripts/check_sources.py index 71aff299..94c2c15d 100755 --- a/scripts/check_sources.py +++ b/scripts/check_sources.py @@ -145,29 +145,6 @@ def check_fileheader(fn, lines): yield 0, "no correct copyright info" -@checker('.py', '.html', '.js') -def check_whitespace_and_spelling(fn, lines): - for lno, line in enumerate(lines): - if "\t" in line: - yield lno+1, "OMG TABS!!!1 " - if line[:-1].rstrip(' \t') != line[:-1]: - yield lno+1, "trailing whitespace" - for word in misspellings: - if word in line and 'ALLOW-MISSPELLING' not in line: - yield lno+1, '"%s" used' % word - - -bad_tags = ('', '', '', '', '' - '
', '', '', '