python template lint

Noah noah-list at
Sat Jul 26 05:33:58 CEST 2014

Hi there List,

I am looking for a little guidance here.  I am taking a series of 
template files for building configuration.  I want to design some simple 
lint rules to check for some of the syntax of the template files I 
created.  For instance if an open brace is seen indent 4 spaces each 
time.  unindent when a close brace is seen.  remove blank lines. Remove 
comments after '#' and so on.  I could write this with search adn 
replace rules but I might want a module that allows for some complexity 
down the road.

Any cool python module recommendations out there that does this well?



More information about the Python-list mailing list