-
Notifications
You must be signed in to change notification settings - Fork 174
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
Very strange behaviour with pylint and pylintrc file. #227
Comments
I can confirm a different behavior whether an empty |
prospector has a number of default settings for pylint (to see which, do |
@ltalirz but custom prospector profile pylint options shouldn't be ignored when there is a |
In the case of line-too-long from pep8 and pylint, that should go into the blender which is for squashing two similar warnings from two tools into one message. In fact that is here The flow is 'pylint <- configured by .pylintrc if present <- configured by prospector profiles' so profiles take precedent, and by default there will always be at least some strictness profile... At least I think, been a while so I will go back and check the code. |
… rather than replace prospector profile configuration
This should be fixed now as of pylint 1.7.4 |
My current configuration:
.prospector.yaml
What is happening:
I had
.pylintrc
in the project just because ofline-too-long
.And this command
prospector -DFM -s veryhigh
gave me 2 pylint warnings about #ToDo and #Fixme, which was desired.I have moved
line-too-long
to.prospector.yaml
(as above)And removed
.pylintrc
.Then I did not get warnings from pylint.
After putting empty
.pylintrc
back. It worked againThe text was updated successfully, but these errors were encountered: