-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (43 loc) · 901 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
[tox]
envlist = isort, flake8, mypy, py36
skipsdist=True
[testenv]
passenv = STREAM_URI
usedevelop=True
deps =
-r{toxinidir}/requirements/ci.txt
-r{toxinidir}/requirements/common.txt
commands =
py.test --cov rampante --cov tests
[flake8]
ignore = E265,E501,D203
max-line-length = 100
max-complexity = 10
inline-quotes = double
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
[isort]
multi_line_output=3
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
include_trailing_comma=True
line_length=60
# Linters
[testenv:flake8]
commands =
flake8 setup.py rampante examples tests
[testenv:isort]
commands =
isort -rc -c --diff -m 3 setup.py rampante examples tests
[testenv:mypy]
commands =
mypy setup.py rampante examples tests --ignore-missing-imports