-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (31 loc) · 879 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
[tox]
envlist = test, quality
[testenv]
basepython =
test: python3.9
quality: python3.9
deps =
quality: -r{toxinidir}/requirements/requirements_quality.txt
test: -r{toxinidir}/requirements/requirements.txt
test: -r{toxinidir}/requirements/requirements_test.txt
commands =
quality: isort src tests
quality: black src tests
quality: flake8 src tests
quality: safety check -r {toxinidir}/requirements/requirements.txt
quality: safety check -r {toxinidir}/requirements/requirements_test.txt
quality: safety check -r {toxinidir}/requirements/requirements_quality.txt
quality: radon cc -nc src
test: pytest {posargs}
[isort]
profile = black
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
[flake8]
max-line-length = 88
ignore = E203, W503
[black]
line-length = 88