summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2023-05-02 08:07:26 +0200
committerAnthon van der Neut <anthon@mnt.org>2023-05-02 08:07:26 +0200
commitb87bbd1afd0c4a644d8ecf6e90561b1910ac57c4 (patch)
tree861cb398aabc20692375747004f9bde429b740be /tox.ini
parentd8f939cfb75f05787eb363e4e919fafea1f439f7 (diff)
downloadruamel.yaml-b87bbd1afd0c4a644d8ecf6e90561b1910ac57c4.tar.gz
fix readme, xfail spec_6_260.17.22
Diffstat (limited to 'tox.ini')
-rwxr-xr-xtox.ini14
1 files changed, 8 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index d581f3d..078a3dc 100755
--- a/tox.ini
+++ b/tox.ini
@@ -1,27 +1,29 @@
[tox]
# toxworkdir = /data1/DATA/tox/ruamel.yaml
-envlist = cs,py310,py39,py38,py37,py36,py35
+envlist = cs,py311,py310,py39,py38,py37,py312
[testenv]
+allowlist_externals = /bin/bash
install_command = pip install --disable-pip-version-check {opts} {packages}
commands =
/bin/bash -c 'pytest _test/test_*.py'
deps =
pytest
+ setuptools
[testenv:cs]
-basepython = python3.8
+basepython = python3.11
deps =
flake8
- flake8-bugbear;python_version>="3.8"
+ flake8-bugbear;python_version>="3.11"
commands =
flake8 []{posargs}
[testenv:pep8]
-basepython = python3.8
+basepython = python3.11
deps =
flake8
- flake8-bugbear;python_version>="3.8"
+ flake8-bugbear;python_version>="3.11"
commands =
flake8 []{posargs}
@@ -29,7 +31,7 @@ commands =
show-source = True
max-line-length = 95
ignore = W503,F405,E203
-exclude = _test/lib,.hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info
+exclude = _test/lib,branch_default,.hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info
[pytest]
filterwarnings =