summaryrefslogtreecommitdiff
path: root/tox.ini
blob: ea153e4a9b1320bd7e20c1da3ecdaeb2dac31c7a (plain)
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]
envlist = py35, py36, py37, py38, pypy3, flake8, checkspelling, pep517check, checklinks
isolated_build = True
min_verison = 1.9

[testenv]
extras = testing
deps = pytidylib
commands = coverage run --source=markdown -m unittest discover {toxinidir}/tests
           coverage report --show-missing

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

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

[testenv:checklinks]
whitelist_externals = markdown-link-check
deps =
commands = {toxinidir}/checklinks.sh

[testenv:pep517check]
deps = pep517
commands = python -m pep517.check {toxinidir}
skip_install = true

[flake8]
max-line-length = 119
exclude=markdown/pep562.py