Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75233 > unrolled thread
| Started by | Noah <noah-list@enabled.com> |
|---|---|
| First post | 2014-07-25 20:33 -0700 |
| Last post | 2014-07-25 20:33 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
python template lint Noah <noah-list@enabled.com> - 2014-07-25 20:33 -0700
| From | Noah <noah-list@enabled.com> |
|---|---|
| Date | 2014-07-25 20:33 -0700 |
| Subject | python template lint |
| Message-ID | <mailman.12339.1406356451.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web