This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
forked from amoghbl1/tor-browser
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal
This also adds E402 (no imports at top of file) to the global ignore list. The other error codes added were previously ignored by default, but now that we have started a custom ignore list, need to be listed explicitly. MozReview-Commit-ID: RtMuVEX6i5 --HG-- extra : rebase_source : 939bc9354f5891c680513d7e9068d0438e169132
- Loading branch information
Showing
9 changed files
with
92 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[flake8] | ||
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration | ||
ignore = E121, E123, E126, E133, E226, E241, E242, E704, W503, E402 | ||
max-line-length = 99 | ||
filename = *.py, +.lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.