From 3f4b47276e8c81cde2542a00ce90f3a0ffc1639a Mon Sep 17 00:00:00 2001 From: Glandos Date: Tue, 24 Nov 2020 22:58:22 +0100 Subject: Set black target to python3.6 --- ihatemoney/migrations/env.py | 2 +- ihatemoney/patch_sqlalchemy_continuum.py | 2 +- ihatemoney/run.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ihatemoney') 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 -- cgit v1.1