Skip to content

Commit

Permalink
🎨 Format fixes (fastapi#159)
Browse files Browse the repository at this point in the history
* 📝 Update release notes

* 🎨 Update format and structure
  • Loading branch information
tiangolo authored Apr 20, 2020
1 parent c350f0e commit 84d43d9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .crud_item import item # noqa: F401
from .crud_user import user # noqa: F401
from .crud_item import item
from .crud_user import user

# For a new basic set of CRUD operations you could just do

Expand Down
2 changes: 0 additions & 2 deletions {{cookiecutter.project_slug}}/backend/app/app/schemas/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from pydantic import BaseModel

from .user import User # noqa: F401


# Shared properties
class ItemBase(BaseModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from app.core.config import settings
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


Expand Down
1 change: 0 additions & 1 deletion {{cookiecutter.project_slug}}/backend/app/scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ set -x
mypy app
black app --check
isort --recursive --check-only app
vulture app --min-confidence 70
flake8

0 comments on commit 84d43d9

Please sign in to comment.