]> khamidou — GitHub mirrors - arcanist.git/commit
Ignore redundant PEP8 lint rule: W293
authorgrglr <grglr@fb.com>
Sat, 25 Jun 2011 00:19:42 +0000 (17:19 -0700)
committergrglr <grglr@fb.com>
Sat, 25 Jun 2011 00:42:07 +0000 (17:42 -0700)
commit80da1354daa6b063a1ed05dd57bb5b8f416e4607
tree6fa4984fa34878830da7bb95e8339da207c1b31e
parent499d4bd24327fcdc81ce59d086107c50b9fbe675
Ignore redundant PEP8 lint rule: W293

Summary:
W293 reports a lint warning for the same problem that TXT6 reports a
lint error for.  This isn't so terrible in and of itself.

However, when you are then prompted to apply a patch to fix TXT6, lint
doesn't realize that the W293 warning was also handled, and still
prompts you about ignoring unresolved warnings.  This is misleading.

Test Plan:
> python pep8.py hasBlankLineWS.py
hasBlankLineWS.py:3:1: W293 blank line contains whitespace
> python pep8.py --ignore=W293 hasBlankLineWS.py
(no output)

Reviewed By: epriestley
Reviewers: jungejason, epriestley
CC: epriestley, aran
Differential Revision: 525
src/lint/linter/pep8/ArcanistPEP8Linter.php