Skip to content

Commit

Permalink
Run doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mwermelinger committed Jul 13, 2024
1 parent e246432 commit 7ee052d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
addopts = "--cov=paddles --cov-report term-missing"
addopts = "--cov=paddles --cov-report term-missing --doctest-modules"

[tool.ruff]
target-version = "py310"
Expand All @@ -52,5 +52,5 @@ ignore = [ # ignore these rules:
convention = "pep257" # this project's docstrings follow PEP 257

[tool.ruff.lint.per-file-ignores]
# in test code, don't flag assertions nor missing package docstrings
# In test code, don't flag assertions nor missing package docstrings.
"tests/*py" = ["S101", "D104"]

0 comments on commit 7ee052d

Please sign in to comment.