forked from facelessuser/pymdown-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (37 loc) · 994 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
42
[tox]
envlist =
{py27,py34,py35,py36,py37}-unittests, lint, spelling
[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 report --show-missing
[testenv:documents]
basepython = python3.6
deps=
-rrequirements/docs.txt
-rrequirements/project.txt
-rrequirements/extra.txt
commands=
{envpython} -m pip install .
{envpython} -m mkdocs build --clean --verbose --strict
{envpython} -m pyspelling
[testenv:lint]
basepython = python3.6
deps=
-rrequirements/project.txt
-rrequirements/extra.txt
-rrequirements/flake8.txt
commands=
{envbindir}/flake8 {toxinidir}
[flake8]
exclude=build/*,.tox/*,.c9/*,site/*,tools/tags/*,node_modules/*
max-line-length=120
ignore=D202,N802,D203,D401
[pytest]
addopts=--ignore=tools --ignore=node_modules