diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | ihatemoney/migrations/env.py | 2 | ||||
| -rw-r--r-- | ihatemoney/patch_sqlalchemy_continuum.py | 2 | ||||
| -rw-r--r-- | ihatemoney/run.py | 2 | ||||
| -rw-r--r-- | tox.ini | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -46,7 +46,7 @@ test: install-dev ## Run the tests .PHONY: black black: install-dev ## Run the tests - $(VENV)/bin/black --target-version=py34 . + $(VENV)/bin/black --target-version=py36 . .PHONY: isort isort: install-dev ## Run the tests 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 @@ -22,7 +22,7 @@ changedir = {toxinidir} [testenv:black] commands = - black --check --target-version=py34 . + black --check --target-version=py36 . isort -c -rc . changedir = {toxinidir} |
