Support configuration in pyproject.toml
colincadams opened this issue · comments
Is your feature request related to a problem? Please describe.
Support for pyproject.toml
was added to pylint in pylint-dev/pylint#3169. The plugin should support configuration from this file as well, instead of just from .pylintrc
.
Describe the solution you'd like
The usable solution is likely to modify the "pylintrc" parameter to instead be "Configuration file" and have it support all configuration file types that pylint supports. Or to support all arguments that pylint supports there.
+1
This is a few years late, but this is currently supported in a non-intuitive way (at least on 0.16.2
).
I changed my Pylint
plugin setting (Path to pylintrc:
) to point it to my pyproject.toml
and deleted my .pylintrc
file.
Now the Pylint plugin correctly picks up new configuration when I add to the .toml
file.
Sample config that I added to my pyproject.tml
that I tested with.
[tool.pylint.MAIN]
ignore-paths = [
'^venv/.*$',
]
disable= [
'too-many-locals',
]