summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 89cc397757d08f89ceaf27436c178990ffa5245d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tox]
envlist = py27, py32, py33, py34, py35, py36, pypy, flake8, checkspelling

[testenv]
deps = -rtest-requirements.txt
commands = coverage run --source=markdown {toxinidir}/run-tests.py {posargs}
           coverage report --show-missing

[testenv:flake8]
deps = flake8
commands = flake8 {toxinidir}/markdown {toxinidir}/tests {toxinidir}/setup.py {toxinidir}/run-tests.py

[testenv:checkspelling]
deps =
    mkdocs
    mkdocs_nature
commands = {toxinidir}/checkspelling.sh

[flake8]
max-line-length = 119