From 6cf1388b0ac8f1928635d3a64461026d9759f06d Mon Sep 17 00:00:00 2001 From: Jakob Kraus Date: Wed, 16 Oct 2024 13:35:31 +0200 Subject: [PATCH] refactor: disable docstring linting for tests and __init__ --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a625878..cdc107d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,6 +141,10 @@ ignore = [ "ISC002", ] +[tool.ruff.per-file-ignores] +"tests/*" = ["D", "DOC"] +"*/__init__.py" = ["D", "DOC"] + [tool.ruff.lint.pydocstyle] convention = "google"