18 March 2015

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:

  1. Pylint finds out "static errors" for you without having to run the code.
  2. Pylint finds out potential errors, say redefining names, for you.
  3. 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