From c0d93a730990b21d7d65b0d8c987c9dbf49dba67 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Tue, 10 Nov 2026 00:32:23 +0900 Subject: [PATCH 1/3] build(ruff): enable D (google convention) and N Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2ac0c3b..80c7ae3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,9 @@ select = [ "PERF", "E", "W", + "D", "DOC", + "N", "F", "PGH", "PLC", @@ -121,7 +123,10 @@ ignore = [ ] [tool.ruff.lint.per-file-ignores] -"tests/**" = ["PLR0913"] +"tests/**" = ["D", "PLR0913"] + +[tool.ruff.lint.pydocstyle] +convention = "google" [tool.ruff.lint.mccabe] max-complexity = 10 From 4f8639de873ff1f9d33869ae731382e09fe3d1a2 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Tue, 10 Nov 2026 00:32:46 +0900 Subject: [PATCH 2/3] docs(main): add module and function docstrings Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 --- src/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 4693850..30e26d0 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,8 @@ +"""Entry point of the template application.""" + + def main() -> None: - pass + """Run the application; the template does nothing yet.""" if __name__ == "__main__": From 5b9622a83886150df1eff2248e3e2eaf2cea96fc Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Tue, 10 Nov 2026 14:14:11 +0900 Subject: [PATCH 3/3] build(ruff): ignore D104, D105 and D107 Google style has no rule for these. __init__ arguments belong in the class docstring. Magic methods are defined by their protocol. Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 80c7ae3..cfe43e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,6 +116,9 @@ ignore = [ "B008", "A002", "A003", + "D104", + "D105", + "D107", "W191", "E111", "E114",