Skip to content

Commit

Permalink
Add python 3.10 & 3.11, drop 3.8 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankApiyo committed Sep 19, 2024
1 parent f5cf192 commit 7427d35
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
[tox]
envlist =
py{38,39,312}-django{32,40}
py{310,311,312}-django{32,40}
lint

[testenv:lint]
deps =
pipenv
flake8
black
basepython = python3.9
basepython = python3.10
commands =
pipenv sync --dev
flake8 {toxinidir}/oidc
black -v {toxinidir}/oidc --check -t py38 -t py39
black -v {toxinidir}/oidc --check -t py310 -t py311
isort -c -v {toxinidir}/oidc

[testenv]
deps =
pipenv
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
commands =
django32: pip install Django>=3.2.13,<4
django40: pip install Django>=4,<5
pipenv sync --dev
python manage.py test {toxinidir}/tests

0 comments on commit 7427d35

Please sign in to comment.