I'm using the django-jenkins plugin in my Django project and it seems that it has installed pylint. I can run pylint byt running python manage.py pylint
. It works just fine but I would like to disable some messages e.g. w0614. I can't seem to pass this as parameter to pylint using the manage.py
. Could anyone of you tell me how I can quiet those W0614 messages?
Thanks.
You can disable a warning by adding a comment to each python file where the warning is raised.
# pylint: disable-msg=w0614
If you don't want to add the comment to each python file, see the question How do I disable a PyLint warning? for a global solution.