forked from facelessuser/pymdown-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 988 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
[tox]
isolated_build = true
envlist =
{py37,py38,py39,py310}, lint, documents
[testenv]
passenv = LANG
deps=
-rrequirements/project.txt
-rrequirements/extra.txt
-rrequirements/test.txt
commands=
{envbindir}/py.test --cov pymdownx --cov-append {toxinidir}
{envbindir}/coverage html -d {envtmpdir}/coverage
{envbindir}/coverage xml
{envbindir}/coverage report --show-missing
[testenv:documents]
deps=
-rrequirements/docs.txt
-rrequirements/extra.txt
commands=
{envpython} -m pip install .
{envpython} -m mkdocs build --clean --verbose --strict
{envpython} -m pyspelling
[testenv:lint]
deps=
-rrequirements/project.txt
-rrequirements/extra.txt
-rrequirements/lint.txt
commands=
{envbindir}/flake8 {toxinidir}
[flake8]
exclude=build/*,.tox/*,.c9/*,site/*,tools/tags/*,node_modules/*,*_db.py,dist/*
max-line-length=120
ignore=D202,N802,D203,D401,W504,N813,E741,N818
[pytest]
addopts=--ignore=tools --ignore=node_modules