-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
ConfigurationRelated to configurationRelated to configurationNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementationRegression
Description
Bug description
With Pylint 2.12, pylint -- file.py
works as expected, with Pylint 2.14 it raises an error like "pylint: error: Unrecognized option found:". I guess that's related to the argparse migration.
Configuration
No response
Command used
pylint -- file.py
Pylint output
pylint: error: Unrecognized option found:
Expected behavior
The --
should separate options from positional arguments. In this case the invocation should have identical results to pylint file.py
.
Pylint version
pylint 2.14.3
astroid 2.11.6
Python 3.9.12 (main, May 6 2022, 20:15:26)
[GCC 11.2.0]
OS / Environment
Debian GNU/Linux
Additional dependencies
No response
Metadata
Metadata
Assignees
Labels
ConfigurationRelated to configurationRelated to configurationNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementationRegression