-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
35 lines (31 loc) · 790 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
[tox]
isolated_build = true
envlist =
{py37,py38,py39,py310}, lint, documents
[testenv]
passenv = LANG
deps=
-rrequirements/project.txt
-rrequirements/test.txt
commands=
{envbindir}/py.test --cov materialx --cov-append {toxinidir}
{envbindir}/coverage html -d {envtmpdir}/coverage
{envbindir}/coverage xml
{envbindir}/coverage report --show-missing
[testenv:documents]
deps=
-rrequirements/docs.txt
commands=
{envpython} -m pip install .
; {envpython} -m mkdocs build --clean --verbose --strict
{envpython} -m pyspelling
[testenv:lint]
deps=
-rrequirements/project.txt
-rrequirements/lint.txt
commands=
{envbindir}/flake8 {toxinidir}
[flake8]
exclude=build/*,.tox/*,site/*
max-line-length=120
ignore=D202,N802,D203,D401,W504,E741