Skip to content

Commit 7aa0595

Browse files
committed
BLD: run pydocstyle on example.py in travis
1 parent 6ad2314 commit 7aa0595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cache:
1616
before_install:
1717
- sudo apt-get install texlive texlive-latex-extra latexmk dvipng
1818
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
19-
- pip install pytest pytest-cov numpy matplotlib sphinx${SPHINX_SPEC} codecov
19+
- pip install pytest pytest-cov pydocstyle numpy matplotlib sphinx${SPHINX_SPEC} codecov
2020
script:
2121
- |
2222
python setup.py sdist
@@ -28,6 +28,7 @@ script:
2828
- echo '! python -m numpydoc numpydoc.tests.test_main._invalid_docstring' | bash
2929
- python -m numpydoc --validate numpydoc.tests.test_main._capture_stdout
3030
- echo '! python -m numpydoc --validate numpydoc.tests.test_main._docstring_with_errors' | bash
31+
- pydocstyle --convention numpy ../doc/example.py
3132
# Build documentation
3233
- |
3334
cd ../doc

0 commit comments

Comments
 (0)