Method: pylint.config.arguments_manager._ArgumentsManager._parse_command_line_configuration
Calls: 1106, Exceptions: 11, Paths: 2Back
Path 1: 1095 calls (0.99)
['/Users/andrehora/Documents/git/projects-pathspotter/pylint/tests/config/file_to_lint.py'] (61) ['/Users/andrehora/Documents/git/projects-pathspotter...
['/Users/andrehora/Documents/git/projects-pathspotter/pylint/tests/config/file_to_lint.py'] (61) ['/Users/andrehora/Documents/git/projects-pathspotter...
1def _parse_command_line_configuration(
2 self, arguments: Sequence[str] | None = None
3 ) -> list[str]:
4 """Parse the arguments found on the command line into the namespace."""
5 arguments = sys.argv[1:] if arguments is None else arguments
6
7 self.config, parsed_args = self._arg_parser.parse_known_args(
8 arguments, self.config
9 )
10
11 return parsed_args
Path 2: 11 calls (0.01)
['--generate-rcfile', '--persistent=no'] (2) ['/Users/andrehora/Documents/git/projects-pathspotter/pylint/tests/data/clientmodule_test.py', '--indent-...
SystemExit (11)
1def _parse_command_line_configuration(
2 self, arguments: Sequence[str] | None = None
3 ) -> list[str]:
4 """Parse the arguments found on the command line into the namespace."""
5 arguments = sys.argv[1:] if arguments is None else arguments
6
7 self.config, parsed_args = self._arg_parser.parse_known_args(
8 arguments, self.config
9 )
10
11 return parsed_args