-
Notifications
You must be signed in to change notification settings - Fork 22
/
tox.ini
47 lines (41 loc) · 964 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]
minversion = 2.3.1
envlist = py38,py39,py310,py311,pep8,py3pep8,doc
skip_missing_interpreters = true
[testenv]
deps =
.[tests]
commands =
{envpython} -m pytest --capture=no --strict {posargs}
[testenv:pep8]
basepython = python3
deps =
.[test_pep8]
commands =
{envpython} -m flake8
[testenv:py3pep8]
basepython = python3
deps =
.[test_pep8]
commands =
{envpython} -m flake8
[testenv:doc]
deps =
doc8
docutils
markdown
basepython = python3
commands =
doc8 --allow-long-titles README
python setup.py check --restructuredtext --metadata --strict
rst2html.py README {toxworkdir}/README.html
markdown_py README.md -f {toxworkdir}/README.md.html
[pytest]
python_files = tests*.py
[flake8]
exclude = .tox,*.egg,dist,build
show-source = true
max-line-length = 79
application-import-names = kdcproxy
# N815 is camelCase names; N813 is for changing case on import; N818 Exception name
ignore = N815, N813, N818