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