How to build a pep8 like static analysis tool for Django?
There are tools like pyflakes and pep8.py, which tell you if the code you have written meets certain standards. I want to build a similar tool which does static analysis on Django and tells things when they dont meet standards. (Eg models should have a `__unicode__`.)
Questions:
1. Is it worth doing this? (Are there enough common things which an be tested for?)
2. Is there a good starting point? (Eg some app I can contribute to instead of starting my own.)
3. How do I proceed? (Eg. is using ast module a good idea for this?)