From b9ca667d3104f1517f3a03b69c12e7bbd5fc2974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 17 Dec 2024 11:40:43 -0800 Subject: [PATCH] pyproject: use tool.ruff.lint sections --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1a43b1b89..8b8026a8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,9 +89,11 @@ fallback_version = "0.0.0-dev" exclude = ["*_pb2.py"] line-length = 100 +[tool.ruff.lint] select = [ "D", # Docstring rules + "I", # Import rules ] -[tool.ruff.pydocstyle] -convention = "google" \ No newline at end of file +[tool.ruff.lint.pydocstyle] +convention = "google"