mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
quality: update tox.ini, bookworm has python 3.11
This commit is contained in:
parent
2696e811ce
commit
7210b66fba
1 changed files with 10 additions and 11 deletions
21
tox.ini
21
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{37,39}-{pytest,lint,invalidcode,mypy}
|
py311-{pytest,lint,invalidcode,mypy}
|
||||||
format
|
format
|
||||||
format-check
|
format-check
|
||||||
docs
|
docs
|
||||||
|
@ -11,20 +11,19 @@ usedevelop = True
|
||||||
passenv = *
|
passenv = *
|
||||||
extras = tests
|
extras = tests
|
||||||
deps =
|
deps =
|
||||||
py{37,39}-pytest: .[tests]
|
py311-pytest: .[tests]
|
||||||
py{37,39}-lint: flake8
|
py311-lint: flake8
|
||||||
py{37,39}-invalidcode: flake8
|
py311-invalidcode: flake8
|
||||||
py{37,39}-mypy: mypy >= 0.761
|
py311-mypy: mypy >= 0.761
|
||||||
commands =
|
commands =
|
||||||
py{37,39}-pytest: pytest {posargs} -c pytest.ini
|
py311-pytest: pytest {posargs} -c pytest.ini
|
||||||
py{37,39}-lint: flake8 moulinette test
|
py311-lint: flake8 moulinette test
|
||||||
py{37,39}-invalidcode: flake8 moulinette test --select F
|
py311-invalidcode: flake8 moulinette test --select F
|
||||||
py{37,39}-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/
|
py311-mypy: mypy --ignore-missing-imports --install-types --non-interactive moulinette/
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.7: py37
|
3.11: py311
|
||||||
3.9: py39
|
|
||||||
|
|
||||||
[testenv:format]
|
[testenv:format]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
Loading…
Reference in a new issue