Method: pylint.config._pylint_config.main._handle_pylint_config_commands
Calls: 4, Exceptions: 0, Paths: 2Back
Path 1: 3 calls (0.75)
PyLinter (3)
32 (3)
1def _handle_pylint_config_commands(linter: PyLinter) -> int:
2 """Handle whichever command is passed to 'pylint-config'."""
3 if linter.config.config_subcommand == "generate":
4 return handle_generate_command(linter)
5
6 print(get_help(linter._arg_parser))
7 return 32
Path 2: 1 calls (0.25)
PyLinter (1)
32 (1)
1def _handle_pylint_config_commands(linter: PyLinter) -> int:
2 """Handle whichever command is passed to 'pylint-config'."""
3 if linter.config.config_subcommand == "generate":
4 return handle_generate_command(linter)
5
6 print(get_help(linter._arg_parser))
7 return 32