Skip to content

Commit

Permalink
Remove legacy __future__ import in Alembic templates (Fixes #504)
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox authored and miguelgrinberg committed Jan 29, 2023
1 parent 8dfcd86 commit 7a388cf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/flask_migrate/templates/aioflask-multidb/env.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import asyncio
import logging
from logging.config import fileConfig
Expand Down
2 changes: 0 additions & 2 deletions src/flask_migrate/templates/aioflask/env.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import asyncio
import logging
from logging.config import fileConfig
Expand Down
2 changes: 0 additions & 2 deletions src/flask_migrate/templates/flask-multidb/env.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import logging
from logging.config import fileConfig

Expand Down
2 changes: 0 additions & 2 deletions src/flask_migrate/templates/flask/env.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import with_statement

import logging
from logging.config import fileConfig

Expand Down
2 changes: 0 additions & 2 deletions tests/custom_template/env.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Custom template
from __future__ import with_statement

import logging
from logging.config import fileConfig

Expand Down

0 comments on commit 7a388cf

Please sign in to comment.