File: tox.ini

package info (click to toggle)
python-m2r 0.3.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 344 kB
  • sloc: python: 1,409; makefile: 287; sh: 1
file content (37 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
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
[tox]
envlist = py{37,38,39,310,py,py3},sphinx-dev,flake8

[testenv]
whitelist_externals =
  make
deps =
  -rrequirements-test.txt
commands =
  coverage run -m unittest discover tests
  coverage run -a -m sphinx -b html -d docs/_build/toctree -E -W -n -j auto -q docs docs/_build/html
  coverage report
  make clean

[testenv:sphinx-dev]
recreate = true
deps =
  git+https://github.com/sphinx-doc/sphinx
commands =
  sphinx-build -b html -d docs/_build/toctree -E -W -n -j auto docs docs/_build/html
  make clean

[testenv:flake8]
deps =
  flake8
commands =
  flake8 m2r.py setup.py tests

[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
skip_install = true
commands =
  codecov

[flake8]
exclude = docs/*,testdoc/*,.git,__pycache__,.tox,.eggs,*.egg