From 116ff4fa451e36c17caeec7bad0006e662bf92db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20L=C3=B3pez?= Date: Tue, 31 Oct 2023 10:17:45 +0000 Subject: [PATCH] feat: configure pydoclint to require return docstring when returning nothing --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 523c240b6..887e6b76d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,7 +120,7 @@ convention = "google" [tool.pydoclint] style = 'google' exclude = '\.git|\.venv|__init__.py' -require-return-section-when-returning-nothing = false +require-return-section-when-returning-nothing = true check-return-types = true allow-init-docstring = true arg-type-hints-in-docstring = true