ref: Add ruff rules for pydocstyle (D) (#4120)
Add ruff rules for pydocstyle (D)
This commit is contained in:
parent
3e181b91c6
commit
b1a79c0749
119 changed files with 634 additions and 1245 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue