Skip to content

Commit e521462

Browse files
authored
ci: allow running notebooks through tox doclive (#225)
* ci: add more --re-ignores to sphinx-autobuild * ci: equalize tox.ini with expertsystem
1 parent cf9a1f5 commit e521462

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tox.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,21 @@ description =
4343
allowlist_externals =
4444
sphinx-autobuild
4545
passenv =
46+
EXECUTE_NB
4647
TERM
4748
commands =
4849
sphinx-autobuild \
4950
--watch docs \
5051
--watch src \
52+
--re-ignore .*/.ipynb_checkpoints/.* \
53+
--re-ignore .*/__pycache__/.* \
54+
--re-ignore docs/.*\.csv \
55+
--re-ignore docs/.*\.gv \
5156
--re-ignore docs/.*\.inv \
57+
--re-ignore docs/.*\.json \
58+
--re-ignore docs/.*\.pickle \
59+
--re-ignore docs/.*\.yaml \
60+
--re-ignore docs/.*\.yml \
5261
--re-ignore docs/_build/.* \
5362
--re-ignore docs/api/.* \
5463
--open-browser \
@@ -136,6 +145,7 @@ ignore = # more info: https://www.flake8rules.com/
136145
W503 # https://github.com/psf/black#line-breaks--binary-operators
137146
rst-roles =
138147
attr,
148+
cite,
139149
class,
140150
doc,
141151
download,
@@ -148,6 +158,8 @@ rst-directives =
148158
deprecated,
149159
envvar,
150160
exception,
161+
glue:figure,
162+
glue:math,
151163
seealso,
152164

153165
[pydocstyle]

0 commit comments

Comments
 (0)