pyproject: use tool.ruff.lint sections
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user