Skip to content

Commit

Permalink
ci: allow running notebooks through tox doclive (#225)
Browse files Browse the repository at this point in the history
* ci: add more --re-ignores to sphinx-autobuild
* ci: equalize tox.ini with expertsystem
  • Loading branch information
redeboer committed Mar 12, 2021
1 parent cf9a1f5 commit e521462
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,21 @@ description =
allowlist_externals =
sphinx-autobuild
passenv =
EXECUTE_NB
TERM
commands =
sphinx-autobuild \
--watch docs \
--watch src \
--re-ignore .*/.ipynb_checkpoints/.* \
--re-ignore .*/__pycache__/.* \
--re-ignore docs/.*\.csv \
--re-ignore docs/.*\.gv \
--re-ignore docs/.*\.inv \
--re-ignore docs/.*\.json \
--re-ignore docs/.*\.pickle \
--re-ignore docs/.*\.yaml \
--re-ignore docs/.*\.yml \
--re-ignore docs/_build/.* \
--re-ignore docs/api/.* \
--open-browser \
Expand Down Expand Up @@ -136,6 +145,7 @@ ignore = # more info: https://www.flake8rules.com/
W503 # https://github.com/psf/black#line-breaks--binary-operators
rst-roles =
attr,
cite,
class,
doc,
download,
Expand All @@ -148,6 +158,8 @@ rst-directives =
deprecated,
envvar,
exception,
glue:figure,
glue:math,
seealso,

[pydocstyle]
Expand Down

0 comments on commit e521462

Please sign in to comment.