forked from Amsterdam/python-audit-log
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
48 lines (42 loc) · 730 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
[tox]
envlist =
py36
py37
py38
py39
checkqa
[testenv]
deps =
pytest
pytest-cov
coverage
commands =
pip install -e .
pytest --cov=. --cov-report term --no-cov-on-fail --tb=short
setenv =
PYTHONPATH = "/app/src"
[coverage:run]
branch = True
[coverage:report]
fail_under = 95
skip_covered = False
show_missing = True
sort = Cover
include = src/audit_log*
[testenv:checkqa]
skip_install = True
ignore_errors = True
deps =
flake8
isort
commands =
flake8 {posargs:{toxinidir}/src/audit_log}
isort --recursive --check-only src/audit_log/
[flake8]
max-complexity = 8
max-line-length = 120
[isort]
line_length = 120
skip = .tox
not_skip = __init__.py
multi_line_output = 3