forked from astropy/sphinx-automodapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (41 loc) · 1.22 KB
/
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
43
[tox]
envlist = py{37,38,39,310,311}-test-sphinx{24,35,40,41,42,43,53,60,61,dev}{,-cov}{-clocale,}
requires = pip >= 18.0
setuptools >= 30.3.0
isolated_build = true
[testenv]
changedir = .tmp/{envname}
deps =
sphinx24: sphinx==2.4.*
sphinx24: Jinja2==3.0.3
sphinx35: sphinx==3.5.*
sphinx35: Jinja2==3.0.3
sphinx40: sphinx==4.0.*
sphinx41: sphinx==4.1.*
sphinx42: sphinx==4.2.*
sphinx43: sphinx==4.3.*
sphinx53: sphinx==5.3.*
sphinx60: sphinx==6.0.*
sphinx61: sphinx==6.1.*
sphinxdev: git+https://github.com/sphinx-doc/sphinx.git
extras =
test: test
commands =
pip freeze
!cov: pytest --pyargs sphinx_automodapi
cov: pytest --pyargs sphinx_automodapi --cov sphinx_automodapi --cov-config={toxinidir}/setup.cfg {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml
passenv = HOME, WINDIR, LC_ALL, LC_CTYPE, LANG, CC, CI
setenv =
cov: CFLAGS = --coverage -fno-inline-functions -O0
clocale: LC_CTYPE=C
clocale: LC_ALL=C
clocale: LANG=C
platform =
clocale: linux|darwin
[testenv:codestyle]
skip_install = true
changedir = {toxinidir}
description = Run all style and file checks with pre-commit
deps = flake8
commands = flake8 sphinx_automodapi --count