add flake8-isort, with a caveat

This commit is contained in:
Brian S. Stephan 2020-06-19 20:23:23 -05:00
parent ab2d754e43
commit 9db5189c65
1 changed files with 8 additions and 1 deletions

View File

@ -46,10 +46,11 @@ deps =
flake8-builtins
flake8-docstrings
flake8-executable
flake8-isort
flake8-logging-format
commands =
flake8
- flake8 --disable-noqa --select=E,W,F,C,D,A,G,B
- flake8 --disable-noqa --select=E,W,F,C,D,A,G,B,I
[coverage:paths]
source =
@ -70,6 +71,12 @@ exclude =
instance/
max-complexity = 10
[isort]
line_length = 120
# only way I could figure out how to make tests/conftest.py happy and have pytest separate from incorporealcms
# and if I let them be combined in tox runs, flake8-isort in vim would complain :(
forced_separate = incorporealcms
[pytest]
python_files =
*_tests.py