-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (41 loc) · 836 Bytes
/
tox.ini
File metadata and controls
45 lines (41 loc) · 836 Bytes
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
[tox]
isolated_build = True
envlist = py{37,38,39,310,311},report
minversion = 3.3.0
[testenv]
setenv =
COVERAGE_FILE = .coverage.{envname}
DISPLAY = :1
deps =
check-manifest >= 0.42
flake8
pytest
pydocstyle
pytype
coverage
build
twine
commands =
check-manifest --ignore 'tox.ini,tests/**,examples/**'
python -m build
python -m twine check dist/*
flake8 .
coverage run --rcfile={toxinidir}/.coveragerc -m pytest tests {posargs:-vv}
pytype igma
pydocstyle igma
depends =
report: py{37,38,39,310,311}
[testenv:report]
setenv =
COVERAGE_FILE = .coverage
deps = coverage
skip_install = true
commands =
coverage combine
coverage html
coverage report
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F
max-line-length = 120
extend-ignore = W504