🎨 Format fixes (#159)
* 📝 Update release notes * 🎨 Update format and structure
This commit is contained in:

committed by
GitHub

parent
7b768879f5
commit
41a2f15d8f
@@ -1,5 +1,5 @@
|
|||||||
from .crud_item import item # noqa: F401
|
from .crud_item import item
|
||||||
from .crud_user import user # noqa: F401
|
from .crud_user import user
|
||||||
|
|
||||||
# For a new basic set of CRUD operations you could just do
|
# For a new basic set of CRUD operations you could just do
|
||||||
|
|
||||||
|
@@ -2,8 +2,6 @@ from typing import Optional
|
|||||||
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
from .user import User # noqa: F401
|
|
||||||
|
|
||||||
|
|
||||||
# Shared properties
|
# Shared properties
|
||||||
class ItemBase(BaseModel):
|
class ItemBase(BaseModel):
|
||||||
|
@@ -3,7 +3,6 @@ from sqlalchemy.orm import Session
|
|||||||
|
|
||||||
from app.core.config import settings
|
from app.core.config import settings
|
||||||
from app.tests.utils.item import create_random_item
|
from app.tests.utils.item import create_random_item
|
||||||
from app.tests.utils.user import create_random_user # noqa: F401
|
|
||||||
from app.tests.utils.utils import get_server_api
|
from app.tests.utils.utils import get_server_api
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,5 +5,4 @@ set -x
|
|||||||
mypy app
|
mypy app
|
||||||
black app --check
|
black app --check
|
||||||
isort --recursive --check-only app
|
isort --recursive --check-only app
|
||||||
vulture app --min-confidence 70
|
|
||||||
flake8
|
flake8
|
||||||
|
Reference in New Issue
Block a user