Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75233
| Date | 2014-07-25 20:33 -0700 |
|---|---|
| From | Noah <noah-list@enabled.com> |
| Subject | python template lint |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12339.1406356451.18130.python-list@python.org> (permalink) |
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? Cheers, Noah
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
python template lint Noah <noah-list@enabled.com> - 2014-07-25 20:33 -0700
csiph-web