Skip to content

Commit

Permalink
add ruff and py 3.13, remove py 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
arska committed Nov 12, 2024
1 parent ea8fd09 commit 443d5a6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 15 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down Expand Up @@ -50,7 +49,7 @@ commands =
codecov -e TOXENV

[testenv:flake8]
basepython = python3.11
basepython = python3.12
deps = flake8
flake8-isort
flake8-black
Expand Down Expand Up @@ -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 .

0 comments on commit 443d5a6

Please sign in to comment.