Skip to content

Commit

Permalink
Apply isort on app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
umluizlima committed Nov 2, 2020
1 parent 8fb4d4a commit c02c3da
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/api/dependencies/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from fastapi.security.api_key import APIKeyHeader
from starlette.status import HTTP_403_FORBIDDEN

from app.settings import get_settings, Settings
from app.settings import Settings, get_settings

API_KEY_HEADER = APIKeyHeader(name="x-api-key")

Expand Down
2 changes: 1 addition & 1 deletion app/api/dependencies/tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from fastapi import Depends

from app.settings import get_settings, Settings
from app.core.tasks import get_tasks_producer
from app.settings import Settings, get_settings


def tasks_producer(settings: Settings = Depends(get_settings)):
Expand Down
2 changes: 1 addition & 1 deletion app/core/adapters/sendgrid.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from sendgrid import SendGridAPIClient
from sendgrid.helpers.mail import Mail, Email, To, Content
from sendgrid.helpers.mail import Content, Email, Mail, To

from ..schemas import EmailSchema
from .base import BaseAdapter
Expand Down
2 changes: 1 addition & 1 deletion app/core/schemas/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .email import ContentType, EmailSchema
from .transactional import TransactionalSchema, Transactional
from .transactional import Transactional, TransactionalSchema
2 changes: 1 addition & 1 deletion app/core/services/transactional.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from app.core.schemas import EmailSchema, TransactionalSchema, Transactional
from app.core.schemas import EmailSchema, Transactional, TransactionalSchema

from .template import TemplateService

Expand Down
2 changes: 1 addition & 1 deletion app/core/tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .base import get_celery_app, Task
from .base import Task, get_celery_app
from .consumer import get_tasks_consumer
from .producer import get_tasks_producer
2 changes: 1 addition & 1 deletion app/settings/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .base import get_settings, Settings
from .base import Settings, get_settings
from .email_service import EmailService
from .environment import Environment
4 changes: 2 additions & 2 deletions app/worker/tasks/send_transactional.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from pydantic import validate_arguments

from app.core.schemas import EmailSchema, TransactionalSchema
from app.core.schemas import TransactionalSchema
from app.core.services import TemplateService, TransactionalService
from app.core.tasks import get_tasks_producer, Task
from app.core.tasks import Task, get_tasks_producer
from app.settings import Settings

from .base import BaseTask
Expand Down

0 comments on commit c02c3da

Please sign in to comment.