From f9ecf6d7400b479ddab268e3b786cb7b5abb2519 Mon Sep 17 00:00:00 2001 From: Pierre Narcisi Date: Fri, 26 Jan 2024 13:42:40 +0100 Subject: [PATCH] bump black --- .../versions/05a0ae652c13_ref_geo_french_regions_1970.py | 1 + .../versions/0dfdbfbccd63_ref_geo_french_municipalities.py | 1 + .../versions/3fdaa1805575_ref_geo_french_departments.py | 1 + .../versions/4882d6141a41_add_regions_in_area_types.py | 1 + .../migrations/versions/586613e2faeb_ref_geo_inpn_grids_1.py | 1 + .../migrations/versions/681306b27407_fix_altitude_trigger.py | 1 + src/ref_geo/migrations/versions/6afe74833ed0_ref_geo.py | 1 + .../migrations/versions/7d6e98441e4c_ref_geo_inpn_grids_5.py | 1 + src/ref_geo/migrations/versions/bc2fcc772b46_geom_4326.py | 1 + .../migrations/versions/cb038e76d59c_fix_functions_local_srid.py | 1 + .../migrations/versions/d02f4563bebe_ref_geo_french_regions.py | 1 + src/ref_geo/migrations/versions/dea1645de8c0_ref_geo_point.py | 1 + .../e0ac4c9f5c0a_add_indexes_on_fk_referencing_id_area.py | 1 + .../migrations/versions/ede150d9afd9_ref_geo_inpn_grids_10.py | 1 + .../versions/f22d70b8fcfa_add_areas_types_size_hierarchy.py | 1 + src/ref_geo/migrations/versions/f7374cd6e38d_ref_geo_linear.py | 1 + .../versions/fda887e7b578_correct_area_name_for_COM.py | 1 + src/ref_geo/utils.py | 1 + 18 files changed, 18 insertions(+) diff --git a/src/ref_geo/migrations/versions/05a0ae652c13_ref_geo_french_regions_1970.py b/src/ref_geo/migrations/versions/05a0ae652c13_ref_geo_french_regions_1970.py index 13ab286..8dd5791 100644 --- a/src/ref_geo/migrations/versions/05a0ae652c13_ref_geo_french_regions_1970.py +++ b/src/ref_geo/migrations/versions/05a0ae652c13_ref_geo_french_regions_1970.py @@ -4,6 +4,7 @@ Create Date: 2021-11-23 12:06:37.699867 """ + from alembic import op import sqlalchemy as sa from sqlalchemy import func diff --git a/src/ref_geo/migrations/versions/0dfdbfbccd63_ref_geo_french_municipalities.py b/src/ref_geo/migrations/versions/0dfdbfbccd63_ref_geo_french_municipalities.py index 5e06119..40c4706 100644 --- a/src/ref_geo/migrations/versions/0dfdbfbccd63_ref_geo_french_municipalities.py +++ b/src/ref_geo/migrations/versions/0dfdbfbccd63_ref_geo_french_municipalities.py @@ -4,6 +4,7 @@ Create Date: 2021-06-01 11:02:56.834432 """ + from alembic import op from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/3fdaa1805575_ref_geo_french_departments.py b/src/ref_geo/migrations/versions/3fdaa1805575_ref_geo_french_departments.py index 8bc1ba7..c228571 100644 --- a/src/ref_geo/migrations/versions/3fdaa1805575_ref_geo_french_departments.py +++ b/src/ref_geo/migrations/versions/3fdaa1805575_ref_geo_french_departments.py @@ -4,6 +4,7 @@ Create Date: 2021-06-01 11:02:56.834432 """ + from alembic import op from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/4882d6141a41_add_regions_in_area_types.py b/src/ref_geo/migrations/versions/4882d6141a41_add_regions_in_area_types.py index bc21185..89095db 100644 --- a/src/ref_geo/migrations/versions/4882d6141a41_add_regions_in_area_types.py +++ b/src/ref_geo/migrations/versions/4882d6141a41_add_regions_in_area_types.py @@ -5,6 +5,7 @@ Create Date: 2021-11-23 12:17:22.518074 """ + from alembic import op import sqlalchemy as sa diff --git a/src/ref_geo/migrations/versions/586613e2faeb_ref_geo_inpn_grids_1.py b/src/ref_geo/migrations/versions/586613e2faeb_ref_geo_inpn_grids_1.py index 793ea40..123c215 100644 --- a/src/ref_geo/migrations/versions/586613e2faeb_ref_geo_inpn_grids_1.py +++ b/src/ref_geo/migrations/versions/586613e2faeb_ref_geo_inpn_grids_1.py @@ -4,6 +4,7 @@ Create Date: 2021-06-01 11:02:56.834432 """ + from alembic import op from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/681306b27407_fix_altitude_trigger.py b/src/ref_geo/migrations/versions/681306b27407_fix_altitude_trigger.py index fd76a04..6b3a6de 100644 --- a/src/ref_geo/migrations/versions/681306b27407_fix_altitude_trigger.py +++ b/src/ref_geo/migrations/versions/681306b27407_fix_altitude_trigger.py @@ -5,6 +5,7 @@ Create Date: 2021-11-30 14:48:23.458154 """ + from alembic import op import sqlalchemy as sa diff --git a/src/ref_geo/migrations/versions/6afe74833ed0_ref_geo.py b/src/ref_geo/migrations/versions/6afe74833ed0_ref_geo.py index cb8081f..85e5fb0 100644 --- a/src/ref_geo/migrations/versions/6afe74833ed0_ref_geo.py +++ b/src/ref_geo/migrations/versions/6afe74833ed0_ref_geo.py @@ -4,6 +4,7 @@ Create Date: 2021-09-27 18:07:43.582936 """ + import importlib from alembic import op, context diff --git a/src/ref_geo/migrations/versions/7d6e98441e4c_ref_geo_inpn_grids_5.py b/src/ref_geo/migrations/versions/7d6e98441e4c_ref_geo_inpn_grids_5.py index c431022..54bf7eb 100644 --- a/src/ref_geo/migrations/versions/7d6e98441e4c_ref_geo_inpn_grids_5.py +++ b/src/ref_geo/migrations/versions/7d6e98441e4c_ref_geo_inpn_grids_5.py @@ -4,6 +4,7 @@ Create Date: 2021-06-01 11:02:56.834432 """ + from alembic import op from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/bc2fcc772b46_geom_4326.py b/src/ref_geo/migrations/versions/bc2fcc772b46_geom_4326.py index 555dd12..f003403 100644 --- a/src/ref_geo/migrations/versions/bc2fcc772b46_geom_4326.py +++ b/src/ref_geo/migrations/versions/bc2fcc772b46_geom_4326.py @@ -5,6 +5,7 @@ Create Date: 2023-11-28 17:34:39.273235 """ + from alembic import op import sqlalchemy as sa from geoalchemy2 import Geometry diff --git a/src/ref_geo/migrations/versions/cb038e76d59c_fix_functions_local_srid.py b/src/ref_geo/migrations/versions/cb038e76d59c_fix_functions_local_srid.py index d264b30..928f9b3 100644 --- a/src/ref_geo/migrations/versions/cb038e76d59c_fix_functions_local_srid.py +++ b/src/ref_geo/migrations/versions/cb038e76d59c_fix_functions_local_srid.py @@ -5,6 +5,7 @@ Create Date: 2022-05-02 10:45:54.662631 """ + from alembic import op import sqlalchemy as sa diff --git a/src/ref_geo/migrations/versions/d02f4563bebe_ref_geo_french_regions.py b/src/ref_geo/migrations/versions/d02f4563bebe_ref_geo_french_regions.py index 14dcfed..294b26e 100644 --- a/src/ref_geo/migrations/versions/d02f4563bebe_ref_geo_french_regions.py +++ b/src/ref_geo/migrations/versions/d02f4563bebe_ref_geo_french_regions.py @@ -4,6 +4,7 @@ Create Date: 2021-11-23 12:06:37.699867 """ + from alembic import op import sqlalchemy as sa from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/dea1645de8c0_ref_geo_point.py b/src/ref_geo/migrations/versions/dea1645de8c0_ref_geo_point.py index a43d481..9a5be56 100644 --- a/src/ref_geo/migrations/versions/dea1645de8c0_ref_geo_point.py +++ b/src/ref_geo/migrations/versions/dea1645de8c0_ref_geo_point.py @@ -5,6 +5,7 @@ Create Date: 2023-07-27 12:13:01.748452 """ + import importlib from alembic import op diff --git a/src/ref_geo/migrations/versions/e0ac4c9f5c0a_add_indexes_on_fk_referencing_id_area.py b/src/ref_geo/migrations/versions/e0ac4c9f5c0a_add_indexes_on_fk_referencing_id_area.py index 25c1757..1f31bbe 100644 --- a/src/ref_geo/migrations/versions/e0ac4c9f5c0a_add_indexes_on_fk_referencing_id_area.py +++ b/src/ref_geo/migrations/versions/e0ac4c9f5c0a_add_indexes_on_fk_referencing_id_area.py @@ -5,6 +5,7 @@ Create Date: 2021-09-15 09:26:08.125615 """ + from alembic import op import sqlalchemy as sa diff --git a/src/ref_geo/migrations/versions/ede150d9afd9_ref_geo_inpn_grids_10.py b/src/ref_geo/migrations/versions/ede150d9afd9_ref_geo_inpn_grids_10.py index ec38a16..5a73615 100644 --- a/src/ref_geo/migrations/versions/ede150d9afd9_ref_geo_inpn_grids_10.py +++ b/src/ref_geo/migrations/versions/ede150d9afd9_ref_geo_inpn_grids_10.py @@ -4,6 +4,7 @@ Create Date: 2021-06-01 11:02:56.834432 """ + from alembic import op from shutil import copyfileobj diff --git a/src/ref_geo/migrations/versions/f22d70b8fcfa_add_areas_types_size_hierarchy.py b/src/ref_geo/migrations/versions/f22d70b8fcfa_add_areas_types_size_hierarchy.py index d56e760..668624e 100644 --- a/src/ref_geo/migrations/versions/f22d70b8fcfa_add_areas_types_size_hierarchy.py +++ b/src/ref_geo/migrations/versions/f22d70b8fcfa_add_areas_types_size_hierarchy.py @@ -5,6 +5,7 @@ Create Date: 2023-05-24 17:42:23.959298 """ + from alembic import op import sqlalchemy as sa diff --git a/src/ref_geo/migrations/versions/f7374cd6e38d_ref_geo_linear.py b/src/ref_geo/migrations/versions/f7374cd6e38d_ref_geo_linear.py index 99992ee..5e8048a 100644 --- a/src/ref_geo/migrations/versions/f7374cd6e38d_ref_geo_linear.py +++ b/src/ref_geo/migrations/versions/f7374cd6e38d_ref_geo_linear.py @@ -4,6 +4,7 @@ Create Date: 2022-02-25 12:342:56.78 """ + import importlib from alembic import op, context diff --git a/src/ref_geo/migrations/versions/fda887e7b578_correct_area_name_for_COM.py b/src/ref_geo/migrations/versions/fda887e7b578_correct_area_name_for_COM.py index 8347332..7515d35 100644 --- a/src/ref_geo/migrations/versions/fda887e7b578_correct_area_name_for_COM.py +++ b/src/ref_geo/migrations/versions/fda887e7b578_correct_area_name_for_COM.py @@ -5,6 +5,7 @@ Create Date: 2023-02-28 13:25:40.908589 """ + from alembic import op from utils_flask_sqla.migrations.utils import logger diff --git a/src/ref_geo/utils.py b/src/ref_geo/utils.py index 1a7cca8..b513c19 100644 --- a/src/ref_geo/utils.py +++ b/src/ref_geo/utils.py @@ -2,6 +2,7 @@ methodes pour ref_geo - recupération du srid local """ + from sqlalchemy import text