-
Notifications
You must be signed in to change notification settings - Fork 57
/
tox.ini
54 lines (47 loc) · 807 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
49
50
51
52
53
54
[tox]
envlist =
py37
py38
py39
py310
py311
pypy3
black
flake8
isort
mypy
pylint
[testenv]
deps =
pytest
pytest-xdist
setuptools_scm
commands =
pytest -n auto {posargs}
[testenv:docs]
deps =
setuptools_scm
sphinx
commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -W {posargs}
[testenv:black]
deps =
black
commands = black --line-length 100 --check --diff pymediainfo tests
[testenv:flake8]
deps = flake8
commands = flake8 --max-line-length 100 pymediainfo tests
[testenv:isort]
deps = isort
commands = isort --check pymediainfo tests
[testenv:pylint]
deps =
pylint
pytest
commands = pylint pymediainfo/ tests/test_pymediainfo.py
[testenv:mypy]
deps =
mypy
pytest
commands =
mypy --strict pymediainfo
mypy tests