🚨(linter) add D1 pydocstyle rule

See PR for rationale.
This commit is contained in:
Laurent Bossavit
2024-10-25 13:21:16 +02:00
committed by Laurent Bossavit
parent 2d46b7d504
commit fd3ac00ea7
2 changed files with 5 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class AuthorizationServerClient:
- Setting appropriate headers for secure communication as recommended by RFC drafts.
"""
# ruff: noqa: PLR0913 PLR017
# ruff: noqa: PLR0913 PLR0917
# pylint: disable=too-many-positional-arguments
# pylint: disable=too-many-arguments
def __init__(

View File

@@ -116,9 +116,13 @@ select = [
"S", # flake8-bandit
"SLF", # flake8-self
"T20", # flake8-print
"D1", # pydocstyle
]
ignore= ["DJ001", "PLR2004"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
section-order = ["future","standard-library","django","third-party","people","first-party","local-folder"]
sections = { people=["core"], django=["django"] }