aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/run.py
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2020-08-27 22:09:04 +0200
committerGitHub <noreply@github.com>2020-08-27 22:09:04 +0200
commit58e5eca270f5954d56f1cf30609bb94cab212917 (patch)
treedb68c20e056fca744230b01d43ea127b154fa966 /ihatemoney/run.py
parentd8d4e996315109a7b81b7e72cbf99bdb9912985b (diff)
downloadihatemoney-mirror-58e5eca270f5954d56f1cf30609bb94cab212917.zip
ihatemoney-mirror-58e5eca270f5954d56f1cf30609bb94cab212917.tar.gz
ihatemoney-mirror-58e5eca270f5954d56f1cf30609bb94cab212917.tar.bz2
update to black 20.8b1 (#676)
Some trailing commas were removed because of some black changes.
Diffstat (limited to 'ihatemoney/run.py')
-rw-r--r--ihatemoney/run.py5
1 files changed, 2 insertions, 3 deletions
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 ;