Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix import linter (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Sep 17, 2023
1 parent 0c34941 commit c3bbbff
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .importlinter
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ containers =
layers =
(urls) | (admin)
(views)
(infrastructure)
(container)
(logic)
(infrastructure)
(models)
(container)


[importlinter:contract:apps-independence]
Expand Down
2 changes: 1 addition & 1 deletion server/apps/identity/logic/usecases/user_create_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from server.apps.identity.intrastructure.services import placeholder
from server.apps.identity.infrastructure.services import placeholder
from server.apps.identity.models import User
from server.common.django.types import Settings

Expand Down
2 changes: 1 addition & 1 deletion server/apps/identity/logic/usecases/user_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from server.apps.identity.intrastructure.services import placeholder
from server.apps.identity.infrastructure.services import placeholder
from server.apps.identity.models import User
from server.common.django.types import Settings

Expand Down
4 changes: 2 additions & 2 deletions server/apps/identity/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from ratelimit.mixins import RatelimitMixin

from server.apps.identity.container import container
from server.apps.identity.intrastructure.django.decorators import (
from server.apps.identity.infrastructure.django.decorators import (
redirect_logged_in_users,
)
from server.apps.identity.intrastructure.django.forms import (
from server.apps.identity.infrastructure.django.forms import (
AuthenticationForm,
RegistrationForm,
)
Expand Down
2 changes: 1 addition & 1 deletion server/apps/identity/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ratelimit.mixins import RatelimitMixin

from server.apps.identity.container import container
from server.apps.identity.intrastructure.django.forms import UserUpdateForm
from server.apps.identity.infrastructure.django.forms import UserUpdateForm
from server.apps.identity.logic.usecases.user_update import UserUpdate
from server.apps.identity.models import User
from server.common.django.decorators import dispatch_decorator
Expand Down
2 changes: 1 addition & 1 deletion server/apps/pictures/logic/usecases/pictures_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import attr

from server.apps.pictures.intrastructure.services import placeholder
from server.apps.pictures.infrastructure.services import placeholder
from server.common.django.types import Settings


Expand Down
2 changes: 1 addition & 1 deletion server/apps/pictures/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from django.views.generic import CreateView, ListView, TemplateView

from server.apps.pictures.container import container
from server.apps.pictures.intrastructure.django.forms import FavouritesForm
from server.apps.pictures.infrastructure.django.forms import FavouritesForm
from server.apps.pictures.logic.usecases import favourites_list, pictures_fetch
from server.apps.pictures.models import FavouritePicture
from server.common.django.decorators import dispatch_decorator
Expand Down

0 comments on commit c3bbbff

Please sign in to comment.