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

epylint does not filter warnings #483

Closed
pylint-bot opened this issue Mar 1, 2015 · 3 comments
Closed

epylint does not filter warnings #483

pylint-bot opened this issue Mar 1, 2015 · 3 comments
Labels

Comments

@pylint-bot
Copy link

Originally reported by: BitBucket: sandrotosi, GitHub: @sandrotosi?


this bug has been reported in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737056

When running emacs with flymake/epylint warnings are shown just like errors.

In the epylint.py script the call to pylint is made with this message template:

'{path}:{line}: [{symbol}, {obj}] {msg}'

This template does not produce an output containing "W" or "E", and thus the
regexp won't match and replace correctly. Changing it to:

'{path}:{line}: [{msg_id}, {obj}] {msg}'

Made it work for me.

@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


Is this still true? I'm not an user of epylint, so I don't know for sure, but I see that we are providing a msg_id though: https://bitbucket.org/logilab/pylint/src/f19a5231fb8e5f36fe83da72de47d18006f3a4a2/pylint/epylint.py?at=default#cl-92

@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


In fact, it seems to have been fixed a couple of months ago: https://bitbucket.org/logilab/pylint/commits/19534ae2f8fbf178ac5cf7ab1905feca0c651907

@pylint-bot
Copy link
Author

Original comment by BitBucket: sandrotosi, GitHub: @sandrotosi?:


gaah, sorry about that: I checked the code before submitting the issue, but I got it the other way around :(

msuozzo pushed a commit to msuozzo/pylint that referenced this issue Feb 18, 2022
Source-Link: googleapis/synthtool@694118b
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant