diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bcc9d0..faeb150 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: name: "run tox" strategy: matrix: - python-version: ["3.10", 3.11, 3.12] + python-version: [3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index a7d6608..812b2fc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,27 +1,26 @@ [tox] envlist = + ruff clean pylint flake8 - py310 py311 py312 + py313 report skip_missing_interpreters = True #requires = # tox-pip-extensions basepython = - py310: python3.10 py311: python3.11 - py311: python3.12 + py312: python3.12 + py313: python3.13 [gh-actions] python = - 3.8: py38 - 3.9: py39 - "3.10": py310 - 3.11: py311, clean, pylint, flake8, report - 3.12: py312 + 3.11: py311 + 3.12: py312, clean, pylint, flake8, report, ruff + 3.13: py313 [testenv] deps = @@ -50,7 +49,7 @@ commands = codecov -e TOXENV [testenv:flake8] -basepython = python3.11 +basepython = python3.12 deps = flake8 flake8-isort flake8-black @@ -78,3 +77,10 @@ select = C,E,F,G,W,B,B902,B950 ignore = E501,W503, BLK100 per-file-ignores = tests/test_controlmyspa.py:B950 + +[ruff] +deps = ruff +skip_install = true +commands = + ruff check . + ruff format --check .