Skip to content
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

Scheme for silencing warnings/errors #3

Open
mikepurvis opened this issue Sep 10, 2013 · 1 comment
Open

Scheme for silencing warnings/errors #3

mikepurvis opened this issue Sep 10, 2013 · 1 comment

Comments

@mikepurvis
Copy link
Member

Especially important for:

  • situations where a warning is acknowledged, but not actually valid.
  • maintainers who don't have the resources to clean everything up now, but would like to broadly enforce no new violations, particularly in conjunction with using Travis to pre-screen PRs.
@jack-oquin
Copy link
Member

I did some experiments with pylint yesterday. It has a mechanism for adding comments to the source to suppress specific messages, like this:

# These function names do not follow PEP-8, but are permitted for API
# compatibility.  Suppress pylint complaints about them.
#
# pylint: disable=C0103
def fromMsg(msg):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants