mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-04 20:21:49 +02:00
Fix isort
This commit is contained in:
parent
df7eb6b253
commit
4db6ef807b
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue