Skip to content

Commit

Permalink
Format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Dec 16, 2023
1 parent 64b8e6c commit 1e17183
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def load_user(id):


class DictType(sqlalchemy.types.TypeDecorator):

impl = sqlalchemy.Text()

def process_bind_param(self, value, dialect):
Expand Down
4 changes: 3 additions & 1 deletion responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def basket_list(request):
data = []

for i in range(num):
price = float(query.basket[i]["price"].replace("$", "")) * float(query.basket[i]["qty"]) + float(price)
price = float(query.basket[i]["price"].replace("$", "")) * float(
query.basket[i]["qty"]
) + float(price)
data.append(
RepeatedElement(
{
Expand Down

0 comments on commit 1e17183

Please sign in to comment.