1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
[flake8]
exclude = docs
per-file-ignores =
# API files import but don't use by definition
*/api.py:F401
# the Qt proxy code needs *-imports, and doesn't use most imports
pyface/qt/Qt*.py:F401,F403,F405
# deprecated modules that do *-imports; will be removed later
pyface/grid/*.py:F403,E402
pyface/grid/api.py:F401,F403,E402
# complicated import logic for Enaml tests
pyface/tasks/tests/test_enaml*.py:E402
# these need non-trivial clean-up
pyface/wx/shell.py:F403,F405,E402
examples/*:H101,F401,F403,F405,E402
ignore =
# codes we ignore as part of ETS style
E266,W503,E722,E731,E741
# codes we are ignoring pending clean-up
H101
# codes for formatting pending clean-up
E226,E501,W291,W293,W391,W504
|