-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mask E402 in two files until Python2 is dropped
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# The ignore list for flake8 itself when run on the command line is distinct | ||
# from the ignore list used by the pytest-flake8 plugin. This provides more | ||
# control over testing but does require that the lists are kept in sync | ||
# if there are later changes to the developer guide standard. | ||
[flake8] | ||
max-line-length = 110 | ||
ignore = E133, E226, E228, N802, N803, N806 | ||
exclude = __init__.py, testLib.py, ticket1914.py | ||
|
||
[tool:pytest] | ||
addopts = --flake8 | ||
flake8-ignore = E133 E226 E228 N802 N803 N806 | ||
# These can be fixed when python2 is dropped | ||
# ie E402 module level import not at top of file | ||
# These are caused by storing `str` before imports override it | ||
python/lsst/pex/config/choiceField.py E402 | ||
python/lsst/pex/config/config.py E402 |
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