-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
60 lines (53 loc) · 1013 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
49
50
51
52
53
54
55
56
57
58
59
60
[flake8]
max-line-length = 100
filename = src/
[pytest]
addopts = --showlocals --verbose -rwsxX --strict
norecursedirs = '.*' build site dist src *.egg
markers =
smoke: Run the core subset of tests
filterwarnings =
ignore::RuntimeWarning
[tox]
envlist = py{36,37,38,39,310}
skipsdist = true
[testenv]
whitelist_externals = poetry
skip_install = true
passenv=HOME
deps = poetry
commands =
poetry install -v
coverage run --parallel-mode -m pytest {posargs}
coverage combine
coverage report -m --include="src/mariner/*"
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands =
flake8
[testenv:pylint]
basepython = python3
skip_install = true
deps =
pylint
commands =
poetry install -v
pylint src/mariner
[testenv:radon]
basepython = python3
skip_install = true
deps =
radon
commands =
radon cc src/mariner
[testenv:build]
basepython = python3
skip_install = true
deps =
poetry
commands =
poetry install -v
poetry build