From 9d8dcffa9efa5143700175f1b97bf28e8d6c6f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 21 Nov 2024 13:25:30 +0100 Subject: [PATCH] Use py312 as tox target --- .gitlab/ci/lint.gitlab-ci.yml | 6 +++--- tox.ini | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitlab/ci/lint.gitlab-ci.yml b/.gitlab/ci/lint.gitlab-ci.yml index 6edaf2c98b..5c1be840c9 100644 --- a/.gitlab/ci/lint.gitlab-ci.yml +++ b/.gitlab/ci/lint.gitlab-ci.yml @@ -17,21 +17,21 @@ lint311: needs: [] allow_failure: true script: - - tox -e py311-lint + - tox -e py312-lint invalidcode311: stage: lint image: "build-and-lint" needs: [] script: - - tox -e py311-invalidcode + - tox -e py312-invalidcode mypy: stage: lint image: "build-and-lint" needs: [] script: - - tox -e py311-mypy + - tox -e py312-mypy i18n-keys: stage: lint diff --git a/tox.ini b/tox.ini index 906864b4ff..3237afb67a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ [tox] -envlist = py311-{lint,invalidcode},py311-black-{run,check} +envlist = py312-{lint,invalidcode},py312-black-{run,check} [testenv] skip_install=True deps = - py311-{lint,invalidcode}: flake8 - py311-black-{run,check}: black - py311-mypy: mypy >= 0.900 + py312-{lint,invalidcode}: flake8 + py312-black-{run,check}: black + py312-mypy: mypy >= 0.900 commands = - py311-lint: flake8 src doc maintenance tests --ignore E402,E501,E203,W503,E741 --exclude src/tests,src/vendor - py311-invalidcode: flake8 src bin maintenance --exclude src/tests,src/vendor --select F,E722,W605 - py311-black-check: black --check --diff bin src doc maintenance tests - py311-black-run: black bin src doc maintenance tests - py311-mypy: mypy --ignore-missing-import --install-types --non-interactive --follow-imports silent src/ --exclude (acme_tiny|migrations|tests) + py312-lint: flake8 src doc maintenance tests --ignore E402,E501,E203,W503,E741 --exclude src/tests,src/vendor + py312-invalidcode: flake8 src bin maintenance --exclude src/tests,src/vendor --select F,E722,W605 + py312-black-check: black --check --diff bin src doc maintenance tests + py312-black-run: black bin src doc maintenance tests + py312-mypy: mypy --ignore-missing-import --install-types --non-interactive --follow-imports silent src/ --exclude (acme_tiny|migrations|tests)