Skip to content

Commit 80d6187

Browse files
reint-fischerreint-fischer
authored andcommitted
enable docstring checking in public files
1 parent 916520e commit 80d6187

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,16 @@ ignore = [
125125
"F811",
126126
]
127127

128-
# [tool.ruff.lint.per-file-ignores]
129-
# # Ignore docstring rules everywhere except for the stable files (particleset.py, interpolators.py).
130-
# "!src/parcels/{_core/particleset,interpolators}.py" = [
131-
# # Missing docstring in public class
132-
# "D101",
133-
# # Missing docstring in public method
134-
# "D102",
135-
# # Missing docstring in public function
136-
# "D103",
137-
# ]
128+
[tool.ruff.lint.per-file-ignores]
129+
# Ignore docstring rules everywhere except for the stable files (particleset.py, interpolators.py).
130+
"!src/parcels/{_core/basegrid,_core/field,_core/fieldset,_core/kernel,_core/particle,_core/particlefile,_core/particleset,_core/uxgrid,_core/xgrid,kernels/advection,kernels/advectiondiffusion,interpolators}.py" = [
131+
# Missing docstring in public class
132+
"D101",
133+
# Missing docstring in public method
134+
"D102",
135+
# Missing docstring in public function
136+
"D103",
137+
]
138138

139139
[tool.ruff.lint.pydocstyle]
140140
convention = "numpy"

0 commit comments

Comments
 (0)