Use Pylint to Boost Your Python Productivity
Amongst a handful of tools which serve a similar goal, I chose pylint. Pylint is a static analysis tool for python that helps you identify errors in your code and ensure your follow your coding standard (white-space, naming convention etc.) This should tremendously boost your productivity as well as improve quality of your code.
This is because:
- Pylint finds out "static errors" for you without having to run the code.
- Pylint finds out potential errors, say redefining names, for you.
- Pylint finds out errors in code branches which are hard to covered by test.
For emacsers, you can easily integrate pylint into Emacs to do on-the-fly check. This slides demonstrates, in addition to other stuff, how to do that and how convenient it is.
blog comments powered by Disqus