pyproject: use tool.ruff.lint sections

This commit is contained in:
Aleix Conchillo Flaqué
2024-12-17 11:40:43 -08:00
parent 5c57cccea3
commit b9ca667d31

View File

@@ -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"
[tool.ruff.lint.pydocstyle]
convention = "google"