forked from GOVCERT-LU/eml_parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
25 lines (19 loc) · 705 Bytes
/
tox.ini
File metadata and controls
25 lines (19 loc) · 705 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
[tox]
toxworkdir={toxinidir}/.tox_{env:Python}
[testenv]
passenv = PIP_CERT,WORKSPACE,HOME
changedir = {toxworkdir}
ignore_outcome = True
ignore_errors = True
extras =
dev
test
filemagic
regex
allowlist_externals =
/bin/bash
commands =
coverage run --source eml_parser -m pytest -v --junitxml={toxinidir}/junit_{env:Python}.xml {toxinidir}/tests
coverage xml -o {toxinidir}/coverage_{env:Python}.xml
/bin/bash -c 'mypy --config-file {toxinidir}/pyproject.toml {toxinidir}/eml_parser > {toxinidir}/mypy_{env:Python}.log'
ruff check --config {toxinidir}/pyproject.toml --output-format pylint --output-file {toxinidir}/pylint_{env:Python}.log {toxinidir}/eml_parser