-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (39 loc) · 1.22 KB
/
Copy pathtox.ini
File metadata and controls
41 lines (39 loc) · 1.22 KB
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
[tox]
envlist = py{310,311,312,313,314}-test-sphinx{_oldest,62,70,71,72,80,81,82,90,dev}{-cov}{-clocale}
requires = pip >= 18.0
setuptools >= 30.3.0
[testenv]
changedir = .tmp/{envname}
deps =
sphinx_oldest: sphinx==5.0.0
sphinx62: sphinx==6.2.*
sphinx70: sphinx==7.0.*
sphinx71: sphinx==7.1.*
sphinx72: sphinx==7.2.*
sphinx80: sphinx==8.0.*
sphinx81: sphinx==8.1.*
sphinx82: sphinx==8.2.*
sphinx90: sphinx==9.0.*
sphinxdev: git+https://github.com/sphinx-doc/sphinx.git
sphinxdev: git+https://github.com/pytest-dev/pytest.git
extras =
test: test
commands =
pip freeze
!cov: pytest --pyargs sphinx_automodapi {posargs}
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