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"] exclude = ["*_pb2.py"]
line-length = 100 line-length = 100
[tool.ruff.lint]
select = [ select = [
"D", # Docstring rules "D", # Docstring rules
"I", # Import rules
] ]
[tool.ruff.pydocstyle] [tool.ruff.lint.pydocstyle]
convention = "google" convention = "google"