-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
77 lines (70 loc) · 1.48 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tox]
envlist =
coverage-clean
pyroma
flake8
readme
py
coverage-report
[testenv]
deps =
pytest
coverage
commands = coverage run -m -p --source=jabbar pytest test/
description = Run the tests using pytest.
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
coverage xml
coverage html
[testenv:pyroma]
skip_install = true
deps =
pyroma >= 3.1
commands = pyroma --min=10 .
description =
Run pyroma to check the package friendliness
[testenv:flake8]
skip_install = true
deps =
flake8 >= 3.8.3
flake8-bandit >= 2.1.2
flake8-builtins >= 1.5.3
flake8-bugbear >= 20.1.4
flake8-colors >= 0.1.6
flake8-commas >= 2.0.0
flake8-comprehensions >= 3.2.3
flake8-docstrings >= 1.5.0
flake8-import-order >= 0.18.1
flake8-print >= 3.1.4
flake8-use-fstring >= 1.1
pep8-naming >= 0.11.1
pydocstyle >= 5.1.1
commands =
flake8 jabbar/ test/ setup.py
pydocstyle yaml2sbml tests setup.py
description =
Run flake8 with various plugins, and pydocstyle.
[testenv:readme]
commands = rst-lint README.rst
skip_install = true
deps =
pygments >= 2.8.1
restructuredtext_lint >= 1.3.2
description =
Run rst-lint to check the style of the README
[testenv:build]
skip_install = true
deps =
build >= 0.3.1
commands =
python -m build .
description =
Build package