@@ -231,7 +231,7 @@ def flag_option(*args, default: Optional[bool] = False, **kwargs) -> Callable[[_
231231 )
232232
233233
234- def auto_default_option (* param_decls , ** attrs ) -> Callable [[_C ], _C ]:
234+ def auto_default_option (* param_decls , ** attrs ) -> Callable [[_C ], _C ]: # noqa: PRM002
235235 """
236236 Attaches an option to the command, with a default value determined from the decorated function's signature.
237237
@@ -279,7 +279,7 @@ def _get_default_from_callback_and_set(command: click.Command, param: click.Para
279279 param .required = False
280280
281281
282- def auto_default_argument (* param_decls , ** attrs ) -> Callable [[_C ], _C ]:
282+ def auto_default_argument (* param_decls , ** attrs ) -> Callable [[_C ], _C ]: # noqa: PRM002
283283 """
284284 Attaches an argument to the command, with a default value determined from the decorated function's signature.
285285
@@ -459,7 +459,7 @@ def get_default(self, ctx): # noqa: MAN001,MAN002,D102
459459
460460class _Option (click .Option ):
461461
462- def prompt_for_value (self , ctx : click .Context ): # noqa: MAN002
462+ def prompt_for_value (self , ctx : click .Context ): # noqa: MAN002,PRM002
463463 """
464464 This is an alternative flow that can be activated in the full value processing if a value does not exist.
465465
@@ -489,7 +489,7 @@ def prompt_for_value(self, ctx: click.Context): # noqa: MAN002
489489 )
490490
491491
492- class DescribedArgument (click .Argument ):
492+ class DescribedArgument (click .Argument ): # noqa: PRM002
493493 r"""
494494 :class:`click.Argument` with an additional keyword argument and attribute giving a short description.
495495
0 commit comments