Background: I want to write an open source project that would tell if your project meets certain design guidelines set by the django docs. One example being in templates you should use {{ foo }}
and not {{foo}}
. Few more recommendations are mentioned here. Pyflakes and pep8.py do this at a larger scale. But since i am a beginner with little experience i tried to start with something small.
Problem to solve: Install my package and once it runs, the package should be able to tell you that the in the templates directory file X has at line Y has error E or warning W.
One library that i could think of using was ast
Could anyone tell me how to proceed with it.
I understand this might end up in a subjective answer, but SO was where i could look up for advice from experienced people.
No comments:
Post a Comment