1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
[tool:pytest]
# --strict: warnings become errors.
# -ra: show extra test summary info for everything.
addopts = --strict -ra
DJANGO_SETTINGS_MODULE = pytest_django_test.settings_sqlite_file
testpaths = tests
[wheel]
universal = 1
[flake8]
# W503 line break before binary operator
ignore = W503
max-line-length = 99
exclude = lib/,src/,docs/,bin/
[isort]
# NOTE: local imports are handled special (they do not get handled as "tests").
forced_separate=tests,pytest_django,pytest_django_test
[metadata]
license_file=LICENSE
|