Disable all Pylint warnings for a file

From the Pylint FAQ: With Pylint < 0.25, add # pylint: disable-all at the beginning of the module. Pylint 0.26.1 and up have renamed that directive to # pylint: skip-file (but the first version will be kept for backward compatibility). In order to ease finding which modules are ignored a information-level message I0013 is emitted. … Read more

Using Pylint with Django

Do not disable or weaken Pylint functionality by adding ignores or generated-members. Use an actively developed Pylint plugin that understands Django. This Pylint plugin for Django works quite well: pip install pylint-django and when running pylint add the following flag to the command: –load-plugins pylint_django Detailed blog post here.

How do I create a pylintrc file

You may put it in: /etc/pylintrc for default global configuration ~/.pylintrc for default user configuration <your project>/pylintrc for default project configuration (used when you’ll run pylint <your project>) wherever you want, then use pylint –rcfile=<wherever I want> Also notice when generating the rc file, you may add option on the command line before the –generate-rcfile, … Read more