django-analytical/pyproject.toml
Peter Bittner a021e07e15
Improve GHA test jobs, move tool config to pyproject.toml (#202)
* Move Tox tool config settings to pyproject.toml
* Restore older Bandit version for predictive setup
   Bandit UX is seriously broken. Unfortunately, only <1.6 works predictably.
* Exclude unsupported Python/Django combinations
   Use a more self-explanatory build job name for tests
* Help pytest find the Django test project settings
* Use clean range for Django 4.0
* Keep load on the GHA runners low, use newer Python for checks
2022-02-04 19:04:03 +01:00

19 lines
413 B
TOML

[tool.bandit]
# Exclude/ignore of files is currently broken in Bandit.
[tool.black]
color = true
[tool.coverage.xml]
output = "tests/reports/coverage.xml"
[tool.isort]
color_output = true
profile = "black"
[tool.pylint.master]
output-format = "colorized"
[tool.pytest.ini_options]
addopts = "--junitxml=tests/reports/unittests.xml --color=yes --verbose"
DJANGO_SETTINGS_MODULE = "tests.testproject.settings"