Fix isort

This commit is contained in:
Alexis Métaireau 2023-11-23 22:31:16 +01:00
parent df7eb6b253
commit 4db6ef807b
3 changed files with 5 additions and 6 deletions

View file

@ -5,6 +5,7 @@ include_trailing_comma=True
force_grid_wrap=0
line_length=88
combine_as_imports=True
profile = "black"
# If set, imports will be sorted within their section independent to the import_type.
force_sort_within_sections=True

View file

@ -964,9 +964,7 @@ class TestBudget(IhatemoneyTestCase):
assert """<thead>
<tr>
<th>Project</th>
<th>Number of participants</th>""" in resp.data.decode(
"utf-8"
)
<th>Number of participants</th>""" in resp.data.decode("utf-8")
def test_dashboard_project_deletion(self):
self.post_project("raclette")

View file

@ -8,14 +8,12 @@ Basically, this blueprint takes care of the authentication and provides
some shortcuts to make your life better when coding (see `pull_project`
and `add_project_id` for a quick overview)
"""
from functools import wraps
import hashlib
import json
import os
from functools import wraps
from urllib.parse import urlparse, urlunparse
import qrcode
import qrcode.image.svg
from flask import (
Blueprint,
Response,
@ -34,6 +32,8 @@ from flask import (
)
from flask_babel import gettext as _
from flask_mail import Message
import qrcode
import qrcode.image.svg
from sqlalchemy_continuum import Operation
from werkzeug.exceptions import NotFound
from werkzeug.security import check_password_hash