class documentation
class _DeprecationArgument(_Argument): (source)
Known subclasses: pylint.config.argument._ExtendArgument
, pylint.config.argument._StoreNewNamesArgument
, pylint.config.argument._StoreOldNamesArgument
Store arguments while also handling deprecation warnings for old and new names. This is based on the parameters passed to argparse.ArgumentsParser.add_message. See: https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_argument
Method | __init__ |
Undocumented |
Instance Variable | action |
The action to perform with the argument. |
Instance Variable | choices |
A list of possible choices for the argument. |
Instance Variable | default |
The default value of the argument. |
Instance Variable | metavar |
The metavar of the argument. |
Instance Variable | type |
A transformer function that returns a transformed type of the argument. |
Inherited from _Argument
:
Instance Variable | flags |
The name of the argument. |
Instance Variable | help |
The description of the argument. |
Instance Variable | hide |
Whether to hide this argument in the help message. |
Instance Variable | section |
The section to add this argument to. |