Skip to content

Commit

Permalink
Fix tox files
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Dec 9, 2024
1 parent ed01fb9 commit 6854b8b
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[tox]
requires =
tox>=4.2
tox-uv>=1.11.3
envdir = {toxinidir}/.venv
args_are_paths = false
envlist =
py39-{4.2},
py310-{4.2,5.0,5.1,main},
py311-{4.2,5.0,5.1,main},
py312-{4.2,5.0,5.1,main},
py313-{4.2,5.0,5.1,main},
docs,
lint

[testenv]
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
usedevelop = true
pip_pre = true
setenv =
PYTHONPATH={toxinidir}
PYTHONWARNINGS=all
commands =
python manage.py test {posargs}
deps =
4.2: Django==4.2.*
5.0: Django==5.0.*
5.1: Django==5.1.*
main: https://github.com/django/django/archive/main.tar.gz

[testenv:lint]
basepython = python3.12
allowlist_externals = just
setenv =
PYTHONWARNINGS=default
commands =
just lint

[testenv:docs]
basepython = python3.12
allowlist_externals = just
setenv =
PYTHONWARNINGS=default
commands =
just docs

0 comments on commit 6854b8b

Please sign in to comment.