diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 000b069..bc3502e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 6713d86..edb654d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,codestyle,dist-check,sort,security +envlist = py39,py310,311,312,codestyle,dist-check,security skip_missing_interpreters = True [testenv] @@ -9,9 +9,9 @@ commands = pytest -v tests/ recreate = true [testenv:codestyle] -deps = black +deps = ruff commands = - black --check src/ tests/ + ruff check src/ tests/ [testenv:dist-check] deps = @@ -21,11 +21,6 @@ commands = python -m build --outdir {distdir} twine check {distdir}/* -[testenv:sort] -deps = - isort -commands = isort --check-only --profile=black src/ tests/ - [testenv:security] deps = bandit