Method: pylint.config.argument._CallableArgument.__init__
Calls: 8608, Exceptions: 0, Paths: 1Back
Path 1: 8608 calls (1.0)
['--output-format', '-f'] (1488) ['--enable', '-e'] (1488) ['--disable', '-d'] (1488) ['--rcfile'] (259) ['--output'] (259) ['--init-hook'] (259) ['--...
_OutputFormatAction def (1488) _EnableAction def (1488) _DisableAction def (1488) _DoNothingAction def (1295) _MessageHelpAction def (259) _ListMessag...
'Set the output format. Available formats are text, parseable, colorized, json and msvs (visual studio). You can also give a reporter class, e.g. mypa...
dict (7313) {} (1295)
False (8608)
'Commands' (3108) 'Messages control' (2976) 'Reports' (1488) None (1036)
None (3626) '
1def __init__(
2 self,
3 *,
4 flags: list[str],
5 action: type[_CallbackAction],
6 arg_help: str,
7 kwargs: dict[str, Any],
8 hide_help: bool,
9 section: str | None,
10 metavar: str,
11 ) -> None:
12 super().__init__(
13 flags=flags, arg_help=arg_help, hide_help=hide_help, section=section
14 )
15
16 self.action = action
17 """The action to perform with the argument."""
18
19 self.kwargs = kwargs
20 """Any additional arguments passed to the action."""
21
22 self.metavar = metavar
23 """The metavar of the argument.
24
25 See:
26 https://docs.python.org/3/library/argparse.html#metavar
27 """