Skip to content

Commit

Permalink
Fix code format and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmanAsh committed Jul 10, 2024
1 parent def8ff7 commit 0a22567
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions api/models/agreement_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
import typing as t

from django.db import models
from .contributor import Contributor
from django.utils.translation import gettext_lazy as _

from .contributor import Contributor

if t.TYPE_CHECKING:
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
else:
TypedModelMeta = object



class AgreementSignature(models.Model):
"""Signature of a contributor signing the agreement"""

Expand Down
2 changes: 1 addition & 1 deletion api/models/contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.utils.translation import gettext_lazy as _

if t.TYPE_CHECKING:
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
else:
TypedModelMeta = object

Expand Down
2 changes: 1 addition & 1 deletion api/models/fruit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.utils.translation import gettext_lazy as _

if t.TYPE_CHECKING:
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
else:
TypedModelMeta = object

Expand Down
6 changes: 3 additions & 3 deletions api/models/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
import typing as t

from django.db import models
from .contributor import Contributor
from django.utils.translation import gettext_lazy as _

from .contributor import Contributor

if t.TYPE_CHECKING:
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
from django_stubs_ext.db.models import TypedModelMeta # pragma: no cover
else:
TypedModelMeta = object



class Repository(models.Model):
"""A repository to contribute to"""

Expand Down

0 comments on commit 0a22567

Please sign in to comment.