class documentation
class _Argument: (source)
Known subclasses: pylint.config.argument._BaseStoreArgument
, pylint.config.argument._CallableArgument
, pylint.config.argument._DeprecationArgument
Class representing an argument to be parsed by an argparse.ArgumentsParser. 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 | 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. |
def __init__(self, *, flags:
list[ str]
, arg_help: str
, hide_help: bool
, section: str|None
):
(source)
¶
overridden in
pylint.config.argument._BaseStoreArgument
, pylint.config.argument._CallableArgument
, pylint.config.argument._DeprecationArgument
Undocumented