aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2020-11-24 22:58:22 +0100
committerGlandos <bugs-github@antipoul.fr>2020-11-25 09:25:36 +0100
commit3f4b47276e8c81cde2542a00ce90f3a0ffc1639a (patch)
tree312408521735ba1b12733462c2eacd2742b80e0f /ihatemoney
parent0380521b4a6f4a0efcc544ca57134def94ac19ba (diff)
downloadihatemoney-mirror-3f4b47276e8c81cde2542a00ce90f3a0ffc1639a.zip
ihatemoney-mirror-3f4b47276e8c81cde2542a00ce90f3a0ffc1639a.tar.gz
ihatemoney-mirror-3f4b47276e8c81cde2542a00ce90f3a0ffc1639a.tar.bz2
Set black target to python3.6
Diffstat (limited to 'ihatemoney')
-rwxr-xr-xihatemoney/migrations/env.py2
-rw-r--r--ihatemoney/patch_sqlalchemy_continuum.py2
-rw-r--r--ihatemoney/run.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/ihatemoney/migrations/env.py b/ihatemoney/migrations/env.py
index 0bd0031..1a44318 100755
--- a/ihatemoney/migrations/env.py
+++ b/ihatemoney/migrations/env.py
@@ -77,7 +77,7 @@ def run_migrations_online():
target_metadata=target_metadata,
include_object=include_object,
process_revision_directives=process_revision_directives,
- **current_app.extensions["migrate"].configure_args
+ **current_app.extensions["migrate"].configure_args,
)
try:
diff --git a/ihatemoney/patch_sqlalchemy_continuum.py b/ihatemoney/patch_sqlalchemy_continuum.py
index dbbd908..eecfe6f 100644
--- a/ihatemoney/patch_sqlalchemy_continuum.py
+++ b/ihatemoney/patch_sqlalchemy_continuum.py
@@ -96,7 +96,7 @@ class PatchedRelationShipBuilder(RelationshipBuilder):
association_col
== self.association_version_table.c[association_col.name]
for association_col in association_cols
- ]
+ ],
)
)
.group_by(*association_cols)
diff --git a/ihatemoney/run.py b/ihatemoney/run.py
index 1d2a575..4ce8aaa 100644
--- a/ihatemoney/run.py
+++ b/ihatemoney/run.py
@@ -170,7 +170,7 @@ def create_app(
number,
currency if currency != CurrencyConverter.no_currency else "",
*args,
- **kwargs
+ **kwargs,
).strip()
app.jinja_env.filters["currency"] = currency