-
Notifications
You must be signed in to change notification settings - Fork 173
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
Pylint configuration in pyproject.toml is ignored #485
Comments
What is happening if you're launching pylint directly ? Does it detect the |
If I launch pylint directly in a module that has a pyproject.toml, it detects it and works fine.
|
Fix merged onto |
On 1.7.6, I still have to manually specify the config file path for both of the situations I specified above (repo root with pyproject.toml or module directory with pyproject.toml). Not sure if this has anything to do with running prospector through poetry. Any ideas? |
Currently, prospector seems to ignore any pylint configuration in the pyproject.toml file. For example, I have
fixme
andinvalid-name
disabled in the pyproject.toml.poetry run pylint
shows no errors, butpoetry run prospector --profile custom
(with a profile that sets strictness none so these pylint errors are enabled by default) still showsfixme
andinvalid-name
errors. If I use a.pylintrc
, the errors go away, but I'd rather just configure everything in the pyproject.toml file.I'm not sure how prospector is running pylint, but it would be nice if it could support pyproject.toml configuration by default.
The text was updated successfully, but these errors were encountered: