-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (37 loc) · 890 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist =
black
py{3,py3}
skipsdist = True
skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True}
[testenv]
basepython =
py3: python3
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
pypy3: pypy3
deps =
.[test]
codecov: codecov
passenv =
# See https://github.com/codecov/codecov-python/blob/5b9d539a6a09bc84501b381b563956295478651a/README.md#using-tox
codecov: TOXENV
codecov: CI
codecov: TRAVIS TRAVIS_*
setenv =
PIP_DISABLE_PIP_VERSION_CHECK=1
VIRTUALENV_NO_DOWNLOAD=1
commands =
!codecov: pytest -v {posargs:autoschematics}
codecov: coverage run --source=autoschematics "{envbindir}/pytest" -v {posargs:autoschematics}
codecov: codecov -e TOXENV
[testenv:black]
skip_install = True
basepython =
python3
deps =
black
commands =
black {posargs:--check .}