[pydocstyle] Add setting to ignore missing documentation for*args and **kwargs parameters (D417) (#15210)

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
InSync
2024-12-31 18:16:55 +07:00
committed by GitHub
parent 3c9021ffcb
commit cfd6093579
11 changed files with 285 additions and 50 deletions

7
ruff.schema.json generated
View File

@@ -2549,6 +2549,13 @@
"type": "string"
}
},
"ignore-var-parameters": {
"description": "If set to `true`, ignore missing documentation for `*args` and `**kwargs` parameters.",
"type": [
"boolean",
"null"
]
},
"property-decorators": {
"description": "A list of decorators that, when applied to a method, indicate that the method should be treated as a property (in addition to the builtin `@property` and standard-library `@functools.cached_property`).\n\nFor example, Ruff will expect that any method decorated by a decorator in this list can use a non-imperative summary line.",
"type": [