-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathtox.ini
57 lines (50 loc) · 855 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
55
56
57
[tox]
envlist =
py39
py310
py311
py312
py313
pypy3
black
flake8
isort
mypy
pylint
[testenv]
deps =
pytest
pytest-xdist
setuptools_scm
commands =
pytest {posargs:-n auto}
[testenv:docs]
deps =
alabaster
myst-parser
setuptools_scm
sphinx
commands =
sphinx-build -W --keep-going --color -b html docs docs/_build
sphinx-build -W --keep-going --color -b linkcheck docs docs/_build
[testenv:black]
deps =
black
commands = black --line-length 100 --check --diff src tests scripts
[testenv:flake8]
deps = flake8
commands = flake8 --max-line-length 100 src tests
[testenv:isort]
deps = isort
commands = isort --check src tests scripts
[testenv:pylint]
deps =
pylint
pytest
commands = pylint src/pymediainfo/ tests/test_pymediainfo.py
[testenv:mypy]
deps =
mypy
pytest
commands =
mypy --strict src tests