From db444da05d74be526dbaea00fe5e87b43076ef38 Mon Sep 17 00:00:00 2001 From: Bagatur Date: Wed, 19 Jun 2024 10:59:55 -0700 Subject: [PATCH] rfc: lint docstrings --- libs/partners/openai/pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/partners/openai/pyproject.toml b/libs/partners/openai/pyproject.toml index abc761bd556..4bf336db497 100644 --- a/libs/partners/openai/pyproject.toml +++ b/libs/partners/openai/pyproject.toml @@ -76,8 +76,15 @@ select = [ "F", # pyflakes "I", # isort "T201", # print + "D", # docstrings ] +[tool.ruff.lint.pydocstyle] +convention = "google" + +[tool.ruff.per-file-ignores] +"tests/**" = ["D"] # ignore docstring checks for tests + [tool.mypy] disallow_untyped_defs = "True"