From 7210b66fbad4ed47b7e61380d87fbc3d3c8682e6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Sep 2023 20:04:15 +0200 Subject: [PATCH] quality: update tox.ini, bookworm has python 3.11 --- tox.ini | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tox.ini b/tox.ini index ff656a7b..837dd19e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{37,39}-{pytest,lint,invalidcode,mypy} + py311-{pytest,lint,invalidcode,mypy} format format-check docs @@ -11,20 +11,19 @@ usedevelop = True passenv = * extras = tests deps = - py{37,39}-pytest: .[tests] - py{37,39}-lint: flake8 - py{37,39}-invalidcode: flake8 - py{37,39}-mypy: mypy >= 0.761 + py311-pytest: .[tests] + py311-lint: flake8 + py311-invalidcode: flake8 + py311-mypy: mypy >= 0.761 commands = - py{37,39}-pytest: pytest {posargs} -c pytest.ini - py{37,39}-lint: flake8 moulinette test - py{37,39}-invalidcode: flake8 moulinette test --select F - py{37,39}-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/ + py311-pytest: pytest {posargs} -c pytest.ini + py311-lint: flake8 moulinette test + py311-invalidcode: flake8 moulinette test --select F + py311-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/ [gh-actions] python = - 3.7: py37 - 3.9: py39 + 3.11: py311 [testenv:format] basepython = python3