Method: pylint.config.callback_actions._OutputFormatAction.__call__
Calls: 32, Exceptions: 3, Paths: 1Back
Path 1: 32 calls (1.0)
ArgumentParser (32)
Namespace (32)
['text'] (21) ['parseable'] (3) ['msvs'] (1) ['colorized'] (1) ['json'] (1) ['no-header'] (1) ['missing.module.Class'] (1) ['lint.unittest_lint._Custo...
'--output-format' (32)
InvalidReporterError (3)
1def __call__(
2 self,
3 parser: argparse.ArgumentParser,
4 namespace: argparse.Namespace,
5 values: str | Sequence[Any] | None,
6 option_string: str | None = "--enable",
7 ) -> None:
8 assert isinstance(values, (tuple, list))
9 assert isinstance(
10 values[0], str
11 ), "'output-format' should be a comma separated string of reporters"
12 self.linter._load_reporters(values[0])