You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code does not honor pylint pyproject.toml file under default settings #13321
And then save a python variable with an undefined variable and you will see the lint error despite the message being disabled in the pyproject.toml file
changed the title [-]Vscode does not honor pylint config file under default settings[/-][+]Vscode does not honor pylint pyproject.toml file under default settings[/+]on Aug 10, 2020
changed the title [-]Vscode does not honor pylint pyproject.toml file under default settings[/-][+]VS Code does not honor pylint pyproject.toml file under default settings[/+]on Aug 10, 2020
We do detect .pylintrc and pickup the settings from it. But we don't detect pyproject.toml and setup.cfg. Can you try .pylintrc, if that is not working can you share your project layout.
I can confirm that .pylintrc does in fact work as expected. It is only pyproject.toml and setup.cfg that don't work unless "use minimal checkers" is set to false.
We added code to detect .pylintrc, but not pyproject.toml or setup.cfg. This require loading the file and paring it to see if there are any pylint settings.
Activity
[-]Vscode does not honor pylint config file under default settings[/-][+]Vscode does not honor pylint pyproject.toml file under default settings[/+][-]Vscode does not honor pylint pyproject.toml file under default settings[/-][+]VS Code does not honor pylint pyproject.toml file under default settings[/+]karthiknadig commentedon Aug 10, 2020
We do detect .pylintrc and pickup the settings from it. But we don't detect pyproject.toml and setup.cfg. Can you try .pylintrc, if that is not working can you share your project layout.
danrneal commentedon Aug 11, 2020
I can confirm that .pylintrc does in fact work as expected. It is only pyproject.toml and setup.cfg that don't work unless "use minimal checkers" is set to false.
karthiknadig commentedon Aug 13, 2020
We added code to detect
.pylintrc, but notpyproject.tomlorsetup.cfg. This require loading the file and paring it to see if there are anypylintsettings.karthiknadig commentedon Aug 13, 2020
The plan is to remove pylint minimal checkers when we have this #11995. Closing this issue, since this will be addressed as a part of enabling #11995.
jacquespeeters commentedon Oct 8, 2021
Any news on this?
Still trouble using flake8 config from
pyproject.tomlI see this MR #13321 but looks related to pylinkt and not flake8
Members of my team say it is working fine and to switch to pycharm...