tox.ini: Change environments to use "python" instead of "py".

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2023-05-12 14:06:49 -04:00
parent 985c9e50f7
commit 1d79493ba1
2 changed files with 11 additions and 9 deletions

View File

@ -27,12 +27,12 @@ jobs:
matrix:
build-opts:
- {python: '3.6', tox: py36}
- {python: '3.7', tox: py37}
- {python: '3.8', tox: py38}
- {python: '3.9', tox: py39}
- {python: '3.10', tox: py310}
- {python: '3.11', tox: py311}
- {python: '3.6', tox: python3.6}
- {python: '3.7', tox: python3.7}
- {python: '3.8', tox: python3.8}
- {python: '3.9', tox: python3.9}
- {python: '3.10', tox: python3.10}
- {python: '3.11', tox: python3.11}
- {python: '3.6', tox: pep8}
- {python: '3.6', tox: lint}
- {python: '3.6', tox: mypy}

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.4
envlist = py3, pep8, lint, mypy
envlist = python3, pep8, lint, mypy
[pycodestyle]
max-line-length = 100
@ -55,7 +55,9 @@ passenv = USERSPACE_SRC
deps = networkx>=2.0
cython>=0.29.14
pytest>=6.0
py36: dataclasses
py39: networkx>=2.6
python3.6: dataclasses
python3.9: networkx>=2.6
python3.10: networkx>=2.6
python3.11: networkx>=2.6
commands_pre = {envpython} setup.py build_ext -i
commands = pytest tests