[IMP] PEP8 rules applied to template files