I am working on eclipse editor and using eclipse plugin pydev
. I have also installed pylint
plugin. But pylint
is throwing me warning messages in some functions like "too many local arguments
". I don't want to change my code. Is there any way to disable those warnings, especially this one. I do have a ~/.pylintrc
file. What should I add to that file to disable these warning messages.
Asked
Active
Viewed 1.6k times
10

Aran-Fey
- 39,665
- 11
- 104
- 149

Kamal Pandey
- 182
- 1
- 1
- 14
-
1[First google result](https://stackoverflow.com/a/816549/1509809) – thuyein May 08 '18 at 08:35
2 Answers
11
If you need to skip pylint validation for some specific function then add the line (comment)
# pylint: disable-msg=too-many-locals
inside that function. You may add this line right after the function declaration.

Andriy
- 1,270
- 3
- 17
- 35