-
-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathtox.ini
69 lines (62 loc) · 1020 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
61
62
63
64
65
66
67
68
69
[tox]
envlist =
docs
lint
isort
py{38,39,310,311,312,py3}
[testenv]
commands =
python --version
coverage run --branch -m unittest {posargs}
coverage report
coverage xml
coverage html
deps =
coverage
jinja2
[testenv:docs]
allowlist_externals = make
changedir = docs
commands = make html
extras = docs
[testenv:lint]
commands = flake8 salmon tests setup.py
deps =
flake8
mccabe
skip_install = true
[testenv:isort]
commands = isort --check-only --diff salmon setup.py
deps = isort
skip_install = true
[flake8]
max-line-length = 120
max-complexity = 10
exclude =
.eggs
.git
.tox
__pycache__
build
docs
env
salmon/_version.py
versioneer.py
salmon/_vendor
[isort]
line_length = 120
from_first = true
use_parentheses = true
skip_glob =
salmon/_version.py
versioneer.py
tests/*
salmon/_vendor
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy-3.6: pypy3
pypy-3.7: pypy3