We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb8f38 commit ce57811Copy full SHA for ce57811
pylint/config/arguments_manager.py
@@ -256,9 +256,12 @@ def _load_default_argument_values(self) -> None:
256
257
def _parse_configuration_file(self, arguments: list[str]) -> None:
258
"""Parse the arguments found in a configuration file into the namespace."""
259
- self.config, parsed_args = self._arg_parser.parse_known_args(
260
- arguments, self.config
261
- )
+ try:
+ self.config, parsed_args = self._arg_parser.parse_known_args(
+ arguments, self.config
262
+ )
263
+ except SystemExit:
264
+ sys.exit(32)
265
unrecognized_options: list[str] = []
266
for opt in parsed_args:
267
if opt.startswith("--"):
0 commit comments