Skip to content

Commit 1d9c5cd

Browse files
committed
fix(ruff): Remove blanket D suppression for sphinx-autodoc-pytest-fixtures
why: Blanket "D" disables all docstring enforcement. The numpy convention already handles D413/D211/D213; only D417 (missing param descriptions) needs suppression for now. what: - Replace "D" with "D417" in per-file-ignores for the package
1 parent 86741c8 commit 1d9c5cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ convention = "numpy"
125125
[tool.ruff.lint.per-file-ignores]
126126
"*/__init__.py" = ["F401"]
127127
"packages/sphinx-argparse-neo/**/*.py" = ["E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]
128-
"packages/sphinx-autodoc-pytest-fixtures/**/*.py" = ["D", "E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]
128+
"packages/sphinx-autodoc-pytest-fixtures/**/*.py" = ["D417", "E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]
129129
"tests/ext/*.py" = ["D", "E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]
130130
"tests/ext/argparse_neo/*.py" = ["D", "E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]
131131
"tests/ext/pytest_fixtures/*.py" = ["D", "E501", "UP", "A", "B", "COM", "EM", "TRY", "PERF", "RUF", "SIM", "FA100"]

0 commit comments

Comments
 (0)