mirror of
https://github.com/PyCQA/flake8.git
synced 2026-07-04 10:59:30 +00:00
simplify our own flake8 config
This commit is contained in:
parent
17822984a5
commit
e527b8e3ca
2 changed files with 6 additions and 28 deletions
20
tox.ini
20
tox.ini
|
|
@ -118,26 +118,8 @@ commands =
|
|||
{[testenv:build]commands}
|
||||
twine upload --skip-existing dist/*
|
||||
|
||||
# Flake8 Configuration
|
||||
[flake8]
|
||||
# Ignore some flake8-docstrings errors
|
||||
# NOTE(sigmavirus24): While we're still using flake8 2.x, this ignore line
|
||||
# defaults to selecting all other errors so we do not need select=E,F,W,I,D
|
||||
# Once Flake8 3.0 is released and in a good state, we can use both and it will
|
||||
# work well \o/
|
||||
ignore = D203, W503, E203, N818
|
||||
extend-ignore = E203
|
||||
per-file-ignores =
|
||||
src/flake8/formatting/_windows_color.py: N806
|
||||
exclude =
|
||||
.tox,
|
||||
.git,
|
||||
__pycache__,
|
||||
docs/source/conf.py,
|
||||
build,
|
||||
dist,
|
||||
tests/fixtures/*,
|
||||
*.pyc,
|
||||
*.egg-info,
|
||||
.cache,
|
||||
.eggs
|
||||
max-complexity = 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue