Skip to content

Commit

Permalink
style: format by black (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakuboskera authored Feb 26, 2023
1 parent 0bb60fd commit 5a89fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def process_revision_directives(context, revision, directives):
connection=connection,
target_metadata=target_metadata,
process_revision_directives=process_revision_directives,
**current_app.extensions["migrate"].configure_args
**current_app.extensions["migrate"].configure_args,
)

with context.begin_transaction():
Expand Down
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Config(object):
# pool_pre_ping should help handle DB connection drops
SQLALCHEMY_ENGINE_OPTIONS = {"pool_pre_ping": True}


class ProductionConfig(Config):
"""Production configuration"""

Expand Down

0 comments on commit 5a89fdb

Please sign in to comment.