Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

Commit

Permalink
pep8/flake8 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
reinbach committed Sep 28, 2013
1 parent 95e6cfa commit 36f88b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scorinator/core/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.views.generic import TemplateView
from score.models import ProjectScore


class HomeView(TemplateView):
template_name = "index.html"

Expand Down
2 changes: 1 addition & 1 deletion scorinator/project/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def get_absolute_url(self):
return reverse("project.detail", args=[self.slug])

def score(self):
return random.randint(0, 100)
return random.randint(0, 100)
2 changes: 1 addition & 1 deletion scorinator/score/templatetags/score_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def display_score(value):
return mark_safe("<span class='label label-{tag}'>{score}</span>".format(
score=value,
tag=tag)
)
)

0 comments on commit 36f88b8

Please sign in to comment.