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