2022-04-14 09:17:18 -04:00
|
|
|
[tox]
|
|
|
|
envlist =
|
|
|
|
py{27, 35, 36, 37, 38, 39, 310}
|
|
|
|
pypy{2, 3}
|
2022-04-30 21:42:36 -04:00
|
|
|
py310-black
|
2022-04-30 21:46:09 -04:00
|
|
|
py310-isort
|
2022-04-14 09:17:18 -04:00
|
|
|
skip_missing_interpreters = true
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
pytest-randomly
|
|
|
|
pyyaml
|
|
|
|
mock; python_version == "2.7"
|
|
|
|
|
|
|
|
commands =
|
|
|
|
pytest tests/
|
2022-04-30 21:42:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
[testenv:py310-black]
|
|
|
|
skip_install = true
|
|
|
|
skip_build = true
|
|
|
|
deps =
|
|
|
|
black
|
|
|
|
|
|
|
|
commands =
|
|
|
|
black --check dotbot/ tests/
|
2022-04-30 21:46:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
[testenv:py310-isort]
|
|
|
|
skip_install = true
|
|
|
|
skip_build = true
|
|
|
|
deps =
|
|
|
|
isort
|
|
|
|
|
|
|
|
commands =
|
|
|
|
isort --check dotbot/ tests/
|