-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (44 loc) · 914 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
[tox]
envlist =
pyroma
doc8
py
flake8
[testenv]
skip_install = false
deps =
pytest
commands =
pytest tests/
[testenv:pyroma]
deps =
pygments
pyroma
skip_install = true
commands = pyroma --min=10 .
description = Run the pyroma tool to check the package friendliness of the project.
[testenv:doc8]
skip_install = true
deps =
pygments
sphinx
doc8
commands =
doc8 README.rst docs/source/
description = Run the doc8 tool to check the style of the RST files in the project docs.
[testenv:flake8]
skip_install = true
deps =
flake8
flake8-bandit
flake8-colors
flake8-docstrings
flake8-import-order
flake8-bugbear
pep8-naming
pydocstyle
flake8-commas
flake8-coding
commands =
flake8 src/cautious_invention/ tests/ setup.py
description = Run the flake8 tool with several plugins (bandit, docstrings, import order, pep8 naming).