-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
57 lines (50 loc) · 1 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
[tox]
envlist = flake8,mypy,clean,py38,py39,py310,coverage-report
[testenv]
setenv =
HOME = /tmp
deps =
-rrequirements.txt
coverage[toml]
commands = coverage run --parallel-mode
[testenv:flake8]
skip_install = true
deps =
flake8
flake8-assertive
flake8-docstrings
flake8-alphabetize
pep8-naming
commands = flake8 oirunner tests
[testenv:mypy]
skip_install = true
deps =
mypy
types-pkg_resources
commands = mypy
[testenv:clean]
skip_install = true
deps = coverage[toml]
commands = coverage erase
[testenv:py{38,39,310}]
depends = clean
[testenv:coverage-report]
skip_install = true
deps = coverage[toml]
parallel_show_output = true
depends =
py38
py39
py310
commands =
coverage combine
coverage report --fail-under=75
[flake8]
inherit = false
# exclude = .git,.tox,.eggs
import-order-style = cryptography
docstring-convention = google
max-line-length = 88
extend-ignore = E203
per-file-ignores =
tests/*:D100,D101,D102,D415