-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
62 lines (54 loc) · 1.06 KB
/
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
58
59
60
61
62
[tox]
envlist =
py{36,37,38,39,310,311,312}
[testenv]
deps =
{[testenv:py36]deps}
typeguard
commands =
{envpython} -m pytest tests --typeguard-packages=beetsplug
[testenv:py36]
deps =
dataclasses
pytest
beets
beets-audible
mediafile
reflink
toml
commands =
{envpython} -m pytest tests
[testenv:black]
deps = black==24.4.0
commands =
{envpython} -m black --check --diff .
[testenv:format]
commands =
{envpython} -m black .
deps = {[testenv:black]deps}
skip_install = true
[testenv:isort]
deps = isort==5.13.2
commands =
{envpython} -m isort --check --diff .
[testenv:flake8]
deps =
flake8==7.0.0
flake8-bugbear==24.2.6
flake8-pyi==24.4.0
commands =
{envpython} -m flake8 beetsplug/ tests/ typehints/ setup.py
[testenv:mypy]
deps =
mypy==1.9.0
skip_install = True
commands =
{envpython} -m mypy -m beetsplug -m tests.helper -m tests._common
[testenv:pylint]
deps =
pylint
setuptools
{[testenv:py36]deps}
skip_install = True
commands =
{envpython} -m pylint beetsplug/ tests/ setup.py