Skip to content

Commit

Permalink
Fixed linting failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandika-A committed Oct 9, 2023
1 parent f0d4caa commit 58ad95a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions project/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ class Issue(models.Model):
FREE, EASY, MEDIUM, HARD, VERY_EASY = 0, 1, 2, 3, 4
FREE_READ, VERY_EASY_READ, EASY_READ, MEDIUM_READ, HARD_READ = "Free", "Very-Easy", "Easy", "Medium", "Hard" \
# Human Readable Names
FREE_COLOR, VERY_EASY_COLOR, EASY_COLOR, MEDIUM_COLOR, HARD_COLOR = "#f2f2f2", "#39c0ed", "#00b74a", "#ffa900", "#f93154" \
# Colors assigned to different labels
FREE_COLOR = "#f2f2f2"
VERY_EASY_COLOR = "#39c0ed"
EASY_COLOR = "#00b74a"
MEDIUM_COLOR = "#ffa900"
HARD_COLOR = "#f93154"

# Colors assigned to different labels
LEVELS = (
(FREE, FREE_READ), # (Value, Human Readable Name)
(VERY_EASY, VERY_EASY_READ),
Expand Down

0 comments on commit 58ad95a

Please sign in to comment.