From c7f7e76721acda1483c0f29d6718d638ce0d8875 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 30 Mar 2022 14:34:00 +0200 Subject: chg: [style] improved style. !minor --- migrations/env.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'migrations/env.py') diff --git a/migrations/env.py b/migrations/env.py index cbfe86d4..4ac6ad53 100644 --- a/migrations/env.py +++ b/migrations/env.py @@ -1,13 +1,12 @@ -from __future__ import with_statement - from alembic import context +from flask import current_app +from sqlalchemy import engine_from_config +from sqlalchemy import pool # add your model's MetaData object here # for 'autogenerate' support # from myapp import mymodel # target_metadata = mymodel.Base.metadata -from flask import current_app -from sqlalchemy import engine_from_config, pool # this is the Alembic Config object, which provides # access to the values within the .ini file in use. -- cgit