ref: Add ruff rules for pydocstyle (D) (#4120)

Add ruff rules for pydocstyle (D)
This commit is contained in:
Christophe Bornet 2024-10-14 17:17:50 +02:00 • committed by GitHub
commit b1a79c0749
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
119 changed files with 634 additions and 1245 deletions

View file

@ -39,6 +39,7 @@ flake8-type-checking.runtime-evaluated-base-classes = [
"typing.TypedDict", # Needed by fastapi
"typing_extensions.TypedDict", # Needed by fastapi
]
pydocstyle.convention = "google"
select = ["ALL"]
ignore = [
"C90", # McCabe complexity
@ -57,8 +58,7 @@ ignore = [
# Rules that are TODOs
"ANN",
"ARG",
"D",
"DOC",
"D1", # Missing docstrings
"FBT",
"N",
"S",