Skip to content

Commit

Permalink
chore: fix lint issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
codito committed Feb 3, 2024
1 parent e164867 commit 570260b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions habito/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def update_streak(cls, habit):
Args:
----
habit (Habit): Habit to update.
"""
# Check-in now supports past updates for upto 365 days
# TODO need an index on date, this query will scan entire table
Expand Down Expand Up @@ -266,6 +267,7 @@ def __init__(self, database):
Args:
----
database: database instance
"""
self._db = database

Expand Down

0 comments on commit 570260b

Please sign in to comment.