Michael Jay Lissner
  • Home
  • About Site
  • Contact
  • Projects & Papers
  • Tags
  • Archives

Using Pylint in Geany

Pylint is a tool that tells you when your Python code is broken or when it has coding problems. As a newish Python coder, using it has taught me a lot about conventions, and has helped to make my code significantly cleaner. Enabling it in my IDE, Geany, makes it so that using it is just another part of my development workflow.

Enabling Pylint in Geany is easy. Simply open Geany, and create a new build command that uses pylint -r no "%f" as the command, and (W|E|F):([0-9]+): (.*) as the error regular expression. After you’ve done this, using this build command instead of saving your work will run Pylint on your current file, showing you warnings, errors and fatal errors in red.

I love getting feedback and comments. Make my day by making a comment.

Comments
comments powered by Disqus

  • « Project Idea: “Community-Curated Data Repository”
  • Swimlane Diagram Generator Written in XSLT »

Published

Aug 11, 2010

Category

Tech

Tags

  • geany 1
  • pylint 1
  • Python 9

Contact

This is Reader-Editable

Edit this post on Github

Get Weekly Updates

  • Unless mentioned otherwise, all material on this site is licensed under a Creative Commons copyright or the GNU Affero GPL. Privacy Policy.
  • Powered by Pelican. Theme: Elegant by Talha Mansoor