Skip to main content

Posts

Showing posts from October 9, 2015
How to create & use pylint in python???  Introduction:  Pylint  is a source code bug and quality checker for the Python programming language. It follows the style recommended by PEP 8, the Python style guide. It is similar to Pychecker but includes the following features: Checking the length of each line. Pylint   is a Python tool that checks a module for coding standards. According to the TurboGears project coding guidelines,   PEP8   is the standard and pylint is a good mechanical test to help us in attaining that goal. The range of checks run from Python errors, missing docstrings, unused imports, unintended redefinition of built-ins, to bad naming and more.  Installation: You can simply install pylint: easy_install pylint or pip install pylint if you want to use django-python plugin , then use " pip install pylint-django ". & you can create custom config file of pylint:   pylint --generate-rcfile > ~/.pylintrc