-
Notifications
You must be signed in to change notification settings - Fork 85
/
tox.ini
47 lines (42 loc) · 918 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
[tox]
requires = tox>=4
isolated_build = true
env_list =
py3{9,10,11,12}
pycodestyle
pydocstyle
[testenv]
description = Run tests with pytest
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install
commands =
poetry run pytest --cov=tlpui tests
[testenv:pycodestyle]
description = Run codestyle checks
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install
commands =
poetry run pycodestyle -v tlpui
[testenv:pydocstyle]
description = Run docstyle checks
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install
commands =
poetry run pydocstyle -v tlpui
[testenv:pylint]
description = Run pylint checks
skip_install = true
commands_pre =
poetry install
commands =
poetry run pylint --disable=C0413,C0411 --max-line-length=120 tlpui
[pycodestyle]
ignore = E402
max-line-length = 120
statistics = True