Skip to content

Commit

Permalink
ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed May 30, 2024
1 parent ecb0f51 commit 3cb2564
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion store/app/api/crud/base.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Defines the base CRUD interface."""

import itertools
from typing import Any, AsyncContextManager, Literal, Self

import aioboto3
from types_aiobotocore_dynamodb.service_resource import DynamoDBServiceResource
import itertools


class BaseCrud(AsyncContextManager["BaseCrud"]):
Expand Down
1 change: 0 additions & 1 deletion store/app/api/crud/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import asyncio
import warnings

import boto3
from boto3.dynamodb.conditions import Key

from store.app.api.crud.base import BaseCrud
Expand Down
3 changes: 1 addition & 2 deletions store/app/api/routers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import asyncio
import datetime
import logging
import uuid
from email.utils import parseaddr as parse_email_address
from typing import Annotated

Expand All @@ -17,8 +18,6 @@
from store.app.api.token import create_refresh_token, create_token, load_refresh_token, load_token
from store.settings import settings

import uuid

logger = logging.getLogger(__name__)

users_router = APIRouter()
Expand Down
3 changes: 1 addition & 2 deletions store/app/api/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import datetime
import logging
import uuid

import jwt
from fastapi import HTTPException, status
Expand All @@ -11,8 +12,6 @@
from store.settings import settings
from store.utils import server_time

import uuid

logger = logging.getLogger(__name__)

TIME_FORMAT = "%Y-%m-%d %H:%M:%S"
Expand Down

0 comments on commit 3cb2564

Please sign in to comment.