Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 11, 2024
1 parent 4b89ec1 commit 1022778
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions courses/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

from courses.constants import (
AVAILABILITY_ANYTIME,
AVAILABILITY_CHOICES,
ENROLL_CHANGE_STATUS_CHOICES,
ENROLLABLE_ITEM_ID_SEPARATOR,
SYNCED_COURSE_RUN_FIELD_MSG,
Expand Down Expand Up @@ -159,7 +158,9 @@ class Meta:
)
departments = models.ManyToManyField(Department, blank=False)
availability = models.CharField(
choices=[("anytime", "anytime"), ("dated", "dated")], default=AVAILABILITY_ANYTIME, max_length=255
choices=[("anytime", "anytime"), ("dated", "dated")],
default=AVAILABILITY_ANYTIME,
max_length=255,
)

@cached_property
Expand Down

0 comments on commit 1022778

Please sign in to comment.