From 8a6a5a32602cd4936029ddae1bda4ce899b8d98f Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Sat, 24 Feb 2024 10:45:02 +0100 Subject: [PATCH] Run tox with 3.12 and drop 3.7 --- pyproject.toml | 2 +- tox.ini | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ca0bb39..a8f9258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"] build-backend = "poetry_dynamic_versioning.backend" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" ruff = ">=0.0.242" [tool.poetry.group.dev.dependencies] diff --git a/tox.ini b/tox.ini index c744b3c..8e06f37 100644 --- a/tox.ini +++ b/tox.ini @@ -1,26 +1,25 @@ [tox] isolated_build = true -envlist = py{37,38,39,310,311} +envlist = py{38,39,310,311,312} [testenv] allowlist_externals = poetry commands = poetry install --no-root --with dev - poetry run pytest + poetry run pytest -vvv {posargs} [testenv:lint] description = lint source code deps = - black ruff commands = - black --check . ruff check . + ruff format . [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312