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
|
force_grid_wrap=0
|
||||||
line_length=88
|
line_length=88
|
||||||
combine_as_imports=True
|
combine_as_imports=True
|
||||||
|
profile = "black"
|
||||||
|
|
||||||
# If set, imports will be sorted within their section independent to the import_type.
|
# If set, imports will be sorted within their section independent to the import_type.
|
||||||
force_sort_within_sections=True
|
force_sort_within_sections=True
|
||||||
|
|
|
@ -964,9 +964,7 @@ class TestBudget(IhatemoneyTestCase):
|
||||||
assert """<thead>
|
assert """<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Project</th>
|
<th>Project</th>
|
||||||
<th>Number of participants</th>""" in resp.data.decode(
|
<th>Number of participants</th>""" in resp.data.decode("utf-8")
|
||||||
"utf-8"
|
|
||||||
)
|
|
||||||
|
|
||||||
def test_dashboard_project_deletion(self):
|
def test_dashboard_project_deletion(self):
|
||||||
self.post_project("raclette")
|
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`
|
some shortcuts to make your life better when coding (see `pull_project`
|
||||||
and `add_project_id` for a quick overview)
|
and `add_project_id` for a quick overview)
|
||||||
"""
|
"""
|
||||||
|
from functools import wraps
|
||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
from functools import wraps
|
|
||||||
from urllib.parse import urlparse, urlunparse
|
from urllib.parse import urlparse, urlunparse
|
||||||
|
|
||||||
import qrcode
|
|
||||||
import qrcode.image.svg
|
|
||||||
from flask import (
|
from flask import (
|
||||||
Blueprint,
|
Blueprint,
|
||||||
Response,
|
Response,
|
||||||
|
@ -34,6 +32,8 @@ from flask import (
|
||||||
)
|
)
|
||||||
from flask_babel import gettext as _
|
from flask_babel import gettext as _
|
||||||
from flask_mail import Message
|
from flask_mail import Message
|
||||||
|
import qrcode
|
||||||
|
import qrcode.image.svg
|
||||||
from sqlalchemy_continuum import Operation
|
from sqlalchemy_continuum import Operation
|
||||||
from werkzeug.exceptions import NotFound
|
from werkzeug.exceptions import NotFound
|
||||||
from werkzeug.security import check_password_hash
|
from werkzeug.security import check_password_hash
|
||||||
|
|
Loading…
Reference in a new issue