Skip to content

Commit 81f993d

Browse files
authored
Merge pull request #600 from aeturrell/pydoclint
Adding pydoclint check
2 parents 1798aaa + 0d0f7ed commit 81f993d

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ repos:
5454
entry: nbstripout
5555
language: python
5656
types: [jupyter]
57+
- repo: https://github.com/jsh9/pydoclint
58+
rev: 0.6.0
59+
hooks:
60+
- id: pydoclint
61+
args: [--style=google, --config=pyproject.toml, src/]

pyproject.toml

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ dev = [
4141
"toml>=0.10.2",
4242
"types-setuptools>=75.6.0.20241223",
4343
"xdoctest>=1.2.0",
44+
"aquarel>=0.0.6",
45+
"pydoclint>=0.6.0",
4446
]
4547

4648
[tool.coverage.report]
@@ -67,3 +69,7 @@ specification_curve=['*.csv']
6769
[build-system]
6870
requires = ["setuptools", "setuptools-scm"]
6971
build-backend = "setuptools.build_meta"
72+
73+
[tool.pydoclint]
74+
style = 'google'
75+
exclude = ["noxfile.py", "tests/", "docs/"]

uv.lock

+41-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)