The main Django application follows the usual the usual PEP-8 style.

We also enforce some of this through pylint in the test suite (make test).

(These guidelines are also included in the HACKING.md file distributed with Libravatar.)