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

How to ignore some pylint warning? #145

Open
zzong2006 opened this issue Jan 23, 2023 · 1 comment
Open

How to ignore some pylint warning? #145

zzong2006 opened this issue Jan 23, 2023 · 1 comment

Comments

@zzong2006
Copy link

zzong2006 commented Jan 23, 2023

I followed this(stackoverflow) instruction but didn't work..

Which plugin is related to pylint?

@baco
Copy link
Contributor

baco commented Jan 24, 2023

for disabling a specific check, inline in the code (that is not globally for all your python files), you should add the comment at the end of the line you are trying to ignore the warning in, stating:
# pylint: disable=<a-comma-separated-list-of-codes-to-ignore>

Is that what's not working for you?

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