Newer
Older
[testenv]
usedevelop = true
commands =
pytest -vv --cov src --cov-report=xml:coverage.xml --cov-report=term-missing --strict -r fEsxXw {posargs:src}
deps =
pytest
dj31: Django>=3.1,<3.2
PIP_ALLOW_EXTERNAL=true
flake8 --show-source --max-complexity=8 --exclude migrations src/ --builtins=ModuleNotFoundError --ignore F405,W503
mccabe
[flake8]
exclude = crudlfap_example
putty-auto-ignore = true
putty-ignore =
crudlfap/shortcuts.py : F401
crudlfap/test_routers.py : D
[pytest]
testpaths = src
DJANGO_SETTINGS_MODULE = crudlfap_example.settings