-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
52 lines (44 loc) · 1012 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
[tox]
isolated_build = True
skip_missing_interpreters = True
envlist = clean, black, flake, type, py39, py310, py311, py312
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =
pytest == 8.3.4
pytest-asyncio == 0.24.0
pytest-cov == 6.0.0
pytest-mock == 3.14.0
coverage[toml] == 7.6.9
atoma == 0.0.17
langdetect == 1.0.9
commands = pytest {posargs}
[testenv:type]
deps =
mypy == 1.13.0
{[testenv]deps}
commands = mypy --install-types --non-interactive {posargs}
[testenv:clean]
skip_install = true
deps = coverage[toml] == 7.6.9
commands = coverage erase
[testenv:black]
skip_install = true
deps = black == 24.10.0
commands = black src tests {posargs}
[testenv:flake]
skip_install = true
deps = flake8 == 7.1.1
commands = flake8 {posargs}
[flake8]
# keeping this here until pyproject support...
max-line-length = 88
extend-select = B950
extend-ignore = E203, E501
extend-exclude = venv/, site-packages/
statistics = True