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
Allow fne-grain control of bad-whitespace warnings #246
Comments
Original comment by BitBucket: rneu31, GitHub: @rneu31?: I agree completely. I have a specific use case for avoiding the I am doing C/C++ Unit Tests using an in house framework where I want to align the columns of inputs. I have written a currently in house wrapper for Pylint and pep8 tools that will soon have some configuration options for which use case the tool is invoked for.. I.E Python source code or C/C++ Unit Tests. I would like to be able to disable the specific error for the case where I am running Pylint across a Unit Test.
|
Another case that belongs in its own warning class is spaces in kwargs.
and
both trigger |
There is a pep related with this request? |
What do you mean by a PEP? This issue is about having the ability to ignore certain classes of errors regarding bad-whitespace. While we might enforce PEP8 by default, which we fully don't, having the ability to configure pylint to your own style is pretty valuable. |
I got it |
Originally reported by: Edd Barrett (BitBucket: vext01, GitHub: @vext01?)
It would be neat if it was possible to have more control over the
bad-whitespace
warnings.For example, consider the following:
bad-whitespace
is fired because:[
]
Ideally I would like to disable the first two warnings whilst retaining the third. Currently
bad-whitespace
covers all of the above warnings. It would be neat to have abad-whitespace-listcomps
,bad-whitespace-paramcommas
, ...What do you think?
Thanks :)
The text was updated successfully, but these errors were encountered: