From e2765f34efe0b4454a5efeb1f80244f35f4e3f2f Mon Sep 17 00:00:00 2001 From: Oliver Borchert Date: Mon, 12 Oct 2026 13:25:32 +0200 Subject: [PATCH] feat: Always enable pydocstyle rules in Ruff --- template/pyproject.toml.jinja | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index 2a92593..1903c0d 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -41,6 +41,7 @@ ignore = [ "N803", # https://docs.astral.sh/ruff/rules/invalid-argument-name "N806", # https://docs.astral.sh/ruff/rules/non-lowercase-variable-in-function "E501", # https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black + "D1", # https://docs.astral.sh/ruff/rules/#pydocstyle-d ] select = [ # pyflakes @@ -54,8 +55,13 @@ select = [ "N", # pyupgrade "UP", + # pydocstyle + "D", ] +[tool.ruff.lint.pydocstyle] +convention = "google" + [tool.ruff.format] quote-style = "double" indent-style = "space"