🚨(linter) add D1 pydocstyle rule
See PR for rationale.
This commit is contained in:
committed by
Laurent Bossavit
parent
2d46b7d504
commit
fd3ac00ea7
@@ -19,7 +19,7 @@ class AuthorizationServerClient:
|
|||||||
- Setting appropriate headers for secure communication as recommended by RFC drafts.
|
- 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-positional-arguments
|
||||||
# pylint: disable=too-many-arguments
|
# pylint: disable=too-many-arguments
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|||||||
@@ -116,9 +116,13 @@ select = [
|
|||||||
"S", # flake8-bandit
|
"S", # flake8-bandit
|
||||||
"SLF", # flake8-self
|
"SLF", # flake8-self
|
||||||
"T20", # flake8-print
|
"T20", # flake8-print
|
||||||
|
"D1", # pydocstyle
|
||||||
]
|
]
|
||||||
ignore= ["DJ001", "PLR2004"]
|
ignore= ["DJ001", "PLR2004"]
|
||||||
|
|
||||||
|
[tool.ruff.lint.pydocstyle]
|
||||||
|
convention = "google"
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
section-order = ["future","standard-library","django","third-party","people","first-party","local-folder"]
|
section-order = ["future","standard-library","django","third-party","people","first-party","local-folder"]
|
||||||
sections = { people=["core"], django=["django"] }
|
sections = { people=["core"], django=["django"] }
|
||||||
|
|||||||
Reference in New Issue
Block a user