Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
WIP: src/tox.ini (pydocstyle): New
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Sep 7, 2020
1 parent c20fad1 commit 10b6028
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## in a virtual environment.
##
[tox]
envlist = doctest, coverage, startuptime, pycodestyle, relint, codespell
envlist = doctest, coverage, startuptime, pycodestyle, relint, codespell, pydocstyle
# When adding environments above, also update the delegations in SAGE_ROOT/tox.ini
skipsdist = true

Expand Down Expand Up @@ -109,3 +109,11 @@ commands = codespell \
--dictionary={toxinidir}/.codespell-dictionary.txt \
--ignore-words={toxinidir}/.codespell-ignore.txt \
{posargs:{toxinidir}/sage/}

[testenv:pydocstyle]
description =
check Python docstring conventions
# http://www.pydocstyle.org/en/stable/
deps =
pydocstyle
commands = pydocstyle {posargs:{toxinidir}/sage/}

0 comments on commit 10b6028

Please sign in to comment.