diff --git a/.coafile b/.coafile index 0707b389..edfbf0ec 100644 --- a/.coafile +++ b/.coafile @@ -67,3 +67,8 @@ keywords = coala bears = PyPluralNamingBear files = **.py ignore_list = LOGGING, MIDDLEWARE + +[all.jinja] +files = templates/**.html +bears = Jinja2Bear +check_end_labels = False diff --git a/templates/contributors.html b/templates/contributors.html index bc86a70b..1e079ab0 100644 --- a/templates/contributors.html +++ b/templates/contributors.html @@ -34,7 +34,7 @@
teams: {% for team in contributor.teams.all %} {{ team.name }} - {% endfor %} + {% endfor %}{# for team in contributor.teams.all #}
diff --git a/templates/gamification.html b/templates/gamification.html index 86ae3005..48becb65 100644 --- a/templates/gamification.html +++ b/templates/gamification.html @@ -32,11 +32,11 @@{{ forloop.counter }}. {{ activity.name }}, performed_at: {{ activity.performed_at }} updated_at: {{ activity.updated_at }}
- {% endfor %} + {% endfor %}{# for activity in participant.activities.all #}Badges Earned: {% for badge in participant.badges.all %}
{{ forloop.counter }}.{{ badge.name }}
- {% endfor %} + {% endfor %}{# for badge in participant.badges.all #} @@ -44,7 +44,7 @@