-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (31 loc) · 673 Bytes
/
tox.ini
File metadata and controls
36 lines (31 loc) · 673 Bytes
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
[tox]
minversion = 3.10
envlist = tester, formatter,
; hinter
skipsdist = true
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pytest --basetemp={envtmpdir}
[testenv:tester]
basepython = python3.10
deps = pytest
commands = pytest tests/
[testenv:formatter]
basepython = python3.10
deps = flake8
commands = flake8 pipeline/ tests/ --config tox.ini
[testenv:hinter]
basepython = python3.10
deps =
-r{toxinidir}/requirements_dev.txt
commands = mypy pipeline
[flake8]
extend-ignore = E401,E501,E722,F841,W0238,W0246,R1705
per-file-ignores =
__init__.py:F401
max-line-length = 1000
count = true