Skip to content

Commit 6e63114

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8d9caac commit 6e63114

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

payments/models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@ def __setattr__(self, key, value):
4040

4141
class BaseSubscription(models.Model):
4242
token = models.CharField(
43-
_('subscribtion token/id'),
44-
help_text=_('Token/id used to identify subscription by provider'),
43+
_("subscribtion token/id"),
44+
help_text=_("Token/id used to identify subscription by provider"),
4545
max_length=255,
4646
default=None,
4747
null=True,
4848
blank=True,
4949
)
5050

5151
class TimeUnit(enum.Enum):
52-
year = 'year'
53-
month = 'month'
54-
day = 'day'
52+
year = "year"
53+
month = "month"
54+
day = "day"
5555

5656
def get_token(self) -> str:
5757
return self.token

0 commit comments

Comments
 (0)