-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable pylintUseMinimalCheckers
when local pylint config exists
#788
Comments
It should become disabled. See https://github.com/Microsoft/vscode-python/blob/master/src/client/linters/pylint.ts, |
There's a faulty assumption at https://github.com/Microsoft/vscode-python/blob/master/src/client/linters/pylint.ts#L82-L84 that the directory should have For reference, this is the relevant logic in pylint: https://github.com/PyCQA/pylint/blob/master/pylint/config.py#L106-L113 . It will look |
Makes sense. Thank you. |
The assumption was based on
which appears to only walk up the tree if https://pylint.readthedocs.io/en/latest/user_guide/run.html#command-line-options You can specify a configuration file on the command line using the --rcfile option. Otherwise, Pylint searches for a configuration file in the following order and uses the first one it finds:
|
Actual problem is that check for the config file happens before |
I understand that it makes sense to hide some errors by default but if a project explicitly configures the linter then I think the editor should not override local choices. I am specifically talking about cases where one of the following is true:
.pylintrc
existspylintrc
existsPYLINTRC
environment variable is set and points to an existing filepylintArgs
setting is customizedThe text was updated successfully, but these errors were encountered: