-
Notifications
You must be signed in to change notification settings - Fork 6
/
tox.ini
59 lines (45 loc) · 892 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
[tox]
envlist = py3
skipsdist = true
[testenv]
deps =
-rrequirements.txt
-rrequirements-dev.txt
setenv =
PYTHONPATH=:.:
commands =
pytest {posargs} tests --workers=10
whitelist_externals =
bash
[testenv:perf]
commands =
python3 -m cProfile -o profile -m pytest {posargs} tests
[testenv:validate]
commands =
python3 -mdati_playground {posargs}
[testenv:jsonld]
commands =
python3 -mdati_playground jsonld
[testenv:safety]
deps =
-rrequirements.txt
-rrequirements-dev.txt
safety
commands =
safety check --short-report setup.py
[coverage:run]
omit =
.tox/*
/snap/*
tests/*
[coverage:report]
omit =
{[coverage:run]omit}
[flake8]
# allow urls: long lines are managed by black.
max-line-length = 160
ignore =
# Allow module level import not at top of file (for monkeypatch, logging)
E402,
# Line break before a binary operator (for black)
W503