django-axes/pyproject.toml

62 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2019-08-28 10:28:57 +00:00
[build-system]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov axes --cov-append --cov-branch --cov-report term-missing --cov-report=xml"
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
py{310,311,312}-dj42
2025-04-11 13:36:35 +00:00
py{310,311,312,313}-dj52
py{312,313,314}-dj60
py314-djmain
py314-djqa
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[gh-actions:env]
DJANGO =
2023-04-28 09:29:36 +00:00
4.2: dj42
2025-04-11 13:36:35 +00:00
5.2: dj52
6.0: dj60
main: djmain
qa: djqa
# Normal test environment runs pytest which orchestrates other tools
[testenv]
deps =
-r requirements.txt
dj42: django>=4.2,<4.3
dj52: django>=5.2,<5.3
dj60: django>=6.0,<6.1
djmain: https://github.com/django/django/archive/main.tar.gz
usedevelop = true
commands = pytest
setenv =
PYTHONDONTWRITEBYTECODE=1
# Django development version is allowed to fail the test matrix
ignore_outcome =
djmain: True
ignore_errors =
djmain: True
# QA runs type checks, linting, and code formatting checks
[testenv:py314-djqa]
stoponfail = false
deps = -r requirements.txt
commands =
mypy axes
2026-02-11 20:06:59 +00:00
prospector axes
2026-02-11 20:07:28 +00:00
black --check --diff axes
"""