Skip to content

Commit

Permalink
pyproject: use tool.ruff.lint sections
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed Dec 17, 2024
1 parent 5c57ccc commit b9ca667
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b9ca667

Please sign in to comment.