diff options
author | Rui Chen <rui@chenrui.dev> | 2024-04-08 00:22:19 -0400 |
---|---|---|
committer | Rui Chen <rui@chenrui.dev> | 2024-04-08 00:22:19 -0400 |
commit | 3e344ae5bea7d206006d2396fe7d917b220ab20e (patch) | |
tree | 4f33c9fde2ae98ac6f4f46e3b95f9451426ca41f | |
parent | efeca37b67e39df3ca55bd8cfd9b849091efd9c2 (diff) |
chore: update tox config wrt py312
Signed-off-by: Rui Chen <rui@chenrui.dev>
-rw-r--r-- | tox.ini | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,pylint,flake8 +envlist = py38,py39,py310,py311,py312,pylint,flake8 [flake8] max-line-length = 139 @@ -61,26 +61,31 @@ extras = tests commands = pytest --cov buku -vv -m "not non_tox" {posargs} +[testenv:py312] +extras = tests +commands = + pytest --cov buku -vv -m "not non_tox" {posargs} + [testenv:quick] -basepython = {env:BASEPYTHON:py311} +basepython = {env:BASEPYTHON:py312} extras = tests commands = pytest --cov buku -vv -m "not non_tox and not slow" {posargs} [testenv:nogui] -basepython = {env:BASEPYTHON:py311} +basepython = {env:BASEPYTHON:py312} extras = tests commands = pytest --cov buku -vv -m "not non_tox and not gui" {posargs} [testenv:pylint] -basepython = {env:BASEPYTHON:py311} +basepython = {env:BASEPYTHON:py312} deps = pylint commands = pylint . --rc-file tests/.pylintrc --recursive yes --ignore-paths .tox/,build/,venv/ [testenv:flake8] -basepython = {env:BASEPYTHON:py311} +basepython = {env:BASEPYTHON:py312} deps = flake8 commands = python -m flake8 |