Skip to content

Commit

Permalink
Set doc style to numpy in pyproject
Browse files Browse the repository at this point in the history
Without this, we get some spurious warnings.
  • Loading branch information
dmcc committed Mar 8, 2024
1 parent 159ed86 commit 520060f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ extend-exclude = ["tests/fixtures", "__pycache__"]
target-version = "py310"
namespace-packages = ["docs", "tasks"]

[tool.ruff.pydocstyle]
convention = "numpy"

[tool.ruff.per-file-ignores]
"**/tests/*" = ["S101"] # Allow using asserts in tests

Expand Down

0 comments on commit 520060f

Please sign in to comment.