-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
64 lines (57 loc) · 1.38 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
58
59
60
61
62
63
64
[tox]
envlist = py39
skipsdist = true
[testenv]
passenv = PYTEST_*
deps =
-r requirements.txt
-r dev-requirements.txt
commands =
flake8
isort --check .
pydocstyle
black --check .
coverage run -p -m pytest
# Have to use combine to get non venv paths in the report
coverage combine
coverage report
[flake8]
max-line-length = 88
exclude =
.vercel
node_modules
# below are the defaults
.svn
CVS
.bzr
.hg
.git
__pycache__
.tox
[coverage:paths]
source =
walterego
./.tox/python/lib/python3.6/site-packages/walterego
[coverage:run]
source = walterego
[isort]
multi_line_output = VERTICAL_HANGING_INDENT
extend_skip =
.vercel
.next
include_trailing_comma = True
line_length = 88
[pydocstyle]
match = (?!test|setup|conftest).*\.py
match_dir=(?!\.|node_modules).*
[pytest]
filterwarnings =
ignore:Call to deprecated create function FileDescriptor
ignore:Call to deprecated create function FieldDescriptor
ignore:Call to deprecated create function OneofDescriptor
ignore:Call to deprecated create function Descriptor
ignore:Call to deprecated create function EnumDescriptor
ignore:Call to deprecated create function EnumValueDescriptor
ignore:Call to deprecated create function ServiceDescriptor
ignore:Call to deprecated create function MethodDescriptor
addopts = --junit-xml=junit.xml