quality: update tox.ini, bookworm has python 3.11

This commit is contained in:
Alexandre Aubin 2023-09-27 20:04:15 +02:00
parent 2696e811ce
commit 7210b66fba

21
tox.ini
View file

@ -1,6 +1,6 @@
[tox] [tox]
envlist = envlist =
py{37,39}-{pytest,lint,invalidcode,mypy} py311-{pytest,lint,invalidcode,mypy}
format format
format-check format-check
docs docs
@ -11,20 +11,19 @@ usedevelop = True
passenv = * passenv = *
extras = tests extras = tests
deps = deps =
py{37,39}-pytest: .[tests] py311-pytest: .[tests]
py{37,39}-lint: flake8 py311-lint: flake8
py{37,39}-invalidcode: flake8 py311-invalidcode: flake8
py{37,39}-mypy: mypy >= 0.761 py311-mypy: mypy >= 0.761
commands = commands =
py{37,39}-pytest: pytest {posargs} -c pytest.ini py311-pytest: pytest {posargs} -c pytest.ini
py{37,39}-lint: flake8 moulinette test py311-lint: flake8 moulinette test
py{37,39}-invalidcode: flake8 moulinette test --select F py311-invalidcode: flake8 moulinette test --select F
py{37,39}-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/ py311-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/
[gh-actions] [gh-actions]
python = python =
3.7: py37 3.11: py311
3.9: py39
[testenv:format] [testenv:format]
basepython = python3 basepython = python3