2022-11-27 23:22:58 +00:00
|
|
|
# https://flake8.pycqa.org/en/latest/user/configuration.html
|
2022-02-06 17:28:12 +00:00
|
|
|
[flake8]
|
|
|
|
# B = bugbear
|
|
|
|
# E = pycodestyle errors
|
|
|
|
# F = flake8 pyflakes
|
|
|
|
# W = pycodestyle warnings
|
|
|
|
# B9 = bugbear opinions
|
|
|
|
|
2022-11-27 23:22:58 +00:00
|
|
|
extend-ignore =
|
|
|
|
# line too long
|
|
|
|
E501
|
|
|
|
# block comment should start with '# '
|
|
|
|
E265,
|
|
|
|
# too many leading '#' for block comment
|
|
|
|
E266,
|
2022-02-06 17:28:12 +00:00
|
|
|
|
|
|
|
per-file-ignores =
|
|
|
|
# __init__.py collects functionality implemented in the rest of the package
|
|
|
|
# for the sole purpose of exporting it under the `bidict` module namespace,
|
|
|
|
# and does not understand mypy-style "import foo as foo" explicit re-exports,
|
|
|
|
# so ignore F401 in this file ("imported but unused").
|
|
|
|
bidict/__init__.py:F401
|
2022-11-27 23:22:58 +00:00
|
|
|
|
|
|
|
# import not at top of file
|
|
|
|
setup.py:E402
|
|
|
|
docs/conf.py:E402
|