summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-19 16:37:15 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-19 16:43:07 -0500
commit97eba39c1fa2c7791da6ed644fee28666d948a33 (patch)
tree9fa4091d843525cc641e4a32995c95b94f670205 /tox.ini
parentd61a04c3442f73735492b2e34a54b4bc2b80fb34 (diff)
downloadpython-coveragepy-git-97eba39c1fa2c7791da6ed644fee28666d948a33.tar.gz
build: use cog to maintain data copied into docs
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 31162ac7..2bbaf911 100644
--- a/tox.ini
+++ b/tox.ini
@@ -64,8 +64,7 @@ deps =
whitelist_externals =
make
commands =
- make cmd_help
- python doc/check_copied_from.py doc/*.rst
+ python -m cogapp -cP --check --verbosity=1 doc/*.rst
doc8 -q --ignore-path 'doc/_*' doc CHANGES.rst README.rst
sphinx-build -b html -aEnqW doc doc/_build/html
rst2html.py --strict README.rst doc/_build/trash
@@ -83,6 +82,9 @@ setenv =
commands =
python -m tabnanny {env:LINTABLE}
python igor.py check_eol
+ python -m cogapp -cP --check --verbosity=1 doc/*.rst
+ python -m cogapp -cP --check --verbosity=1 .github/workflows/*.yml
+ doc8 -q --ignore-path 'doc/_*' doc CHANGES.rst README.rst
# If 'build -q' becomes a thing (https://github.com/pypa/build/issues/188),
# this can be simplifed:
python igor.py quietly "python -m build"