1
0
Fork 0
mirror of synced 2024-11-24 17:15:34 -05:00
dotbot/tox.ini
Kurt McKee 1ff796a9dc Enforce platform-specific CPython version requirements for Windows in tox
This also changes the black and isort tests to use CPython 3.9
because Cygwin currently doesn't have CPython 3.10 available.
2022-05-13 10:44:29 -05:00

45 lines
756 B
INI

[tox]
; On Windows, only CPython >= 3.8 is supported.
; All older versions, and PyPy, lack full symlink support.
envlist =
py{38, 39, 310}-all_platforms
py{27, 35, 36, 37}-most_platforms
pypy{2, 3}-most_platforms
py39-black
py39-isort
skip_missing_interpreters = true
[testenv]
platform =
all_platforms: cygwin|darwin|linux|win32
most_platforms: cygwin|darwin|linux
deps =
pytest
pytest-randomly
pyyaml
mock; python_version == "2.7"
commands =
pytest tests/
[testenv:py39-black]
skip_install = true
skip_build = true
deps =
black
commands =
black --check dotbot/ tests/
[testenv:py39-isort]
skip_install = true
skip_build = true
deps =
isort
commands =
isort --check dotbot/ tests/