Skip to content

Commit ff871d8

Browse files
committed
Run test on CI
1 parent 8e579a2 commit ff871d8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ lint: \
1010
black \
1111
check-manifest \
1212
doc8 \
13+
doctest \
1314
linkcheck \
1415
mypy \
1516
ruff \

docs/source/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ Usage
1616

1717
See the :doc:`api-reference` for full usage details.
1818

19-
.. TODO - make this a doctest with hidden mock as setup
20-
.. TODO - run doctest on CI
21-
2219
.. code:: python
2320
2421
import io

lint.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ linkcheck:
5757
.PHONY: spelling
5858
spelling:
5959
$(MAKE) -C docs/ spelling SPHINXOPTS=$(SPHINXOPTS)
60+
61+
.PHONY: doctest
62+
doctest:
63+
$(MAKE) -C docs/ doctest SPHINXOPTS=$(SPHINXOPTS)

0 commit comments

Comments
 (0)