Default rcfile locations are scanned even when --rcfile option is specified #7169
Labels
Bug 🪲
Configuration
Related to configuration
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Regression
Milestone
Bug description
With the latest version
2.14.4
, pylint scans the default rcfile locations even when--rcfile
option with valid rcfile path is specified. It is problematic because it caused a permission error when an user doesn't have an access permissions to the pre-determined default path of defaultrcfile
files.Configuration
No response
Command used
Pylint output
Expected behavior
With the prior version at least
2.13.5
, the problem didn't happen.2.13.5
don't seem to scan default rcfile locations when--rcfile
option with valid rcfile path is specified. Similar to2.13.5
, I think the latest version2.14.4
and later version are also expected to skip scanning the default paths when--rcfile
option with valid path is specified.Pylint version
OS / Environment
Ubuntu focal by using the docker image via
FROM ubuntu:focal-20220531
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: