Files
notifications-api/setup.cfg
Chris Hill-Scott 0ed1f32972 Move flake8 config into setup.cfg
At the moment the two are duplicative, and it’s not clear which takes
precedence.

We need to keep the `excludes` line otherwise running the `flake8`
command takes ~3 times longer and may lint 3rd party files that we don’t
control.
2020-12-23 12:23:15 +00:00

10 lines
184 B
INI

[tool:pytest]
xfail_strict=true
[flake8]
exclude = venv*,__pycache__,node_modules,cache,migrations,build
# W504 line break after binary operator
extend_ignore=B306, W504
select=B901