From 58e5eca270f5954d56f1cf30609bb94cab212917 Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 27 Aug 2020 22:09:04 +0200 Subject: update to black 20.8b1 (#676) Some trailing commas were removed because of some black changes. --- ihatemoney/run.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ihatemoney/run.py') diff --git a/ihatemoney/run.py b/ihatemoney/run.py index 15e295b..0f32dfb 100644 --- a/ihatemoney/run.py +++ b/ihatemoney/run.py @@ -27,8 +27,7 @@ def setup_database(app): """Prepare the database. Create tables, run migrations etc.""" def _pre_alembic_db(): - """ Checks if we are migrating from a pre-alembic ihatemoney - """ + """Checks if we are migrating from a pre-alembic ihatemoney""" con = db.engine.connect() tables_exist = db.engine.dialect.has_table(con, "project") alembic_setup = db.engine.dialect.has_table(con, "alembic_version") @@ -58,7 +57,7 @@ def setup_database(app): def load_configuration(app, configuration=None): - """ Find the right configuration file for the application and load it. + """Find the right configuration file for the application and load it. By order of preference: - Use the IHATEMONEY_SETTINGS_FILE_PATH env var if defined ; -- cgit v1.1