From 71d23ff089b222c25ad55a50dfebf612fac19aba Mon Sep 17 00:00:00 2001 From: Julien Maupetit Date: Wed, 9 Oct 2024 16:57:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(api)=20fix=20migrations=20black=20?= =?UTF-8?q?formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Black evolves. --- .../b10e85cde5d0_admin_level_add_population_area.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/api/qualicharge/migrations/versions/b10e85cde5d0_admin_level_add_population_area.py b/src/api/qualicharge/migrations/versions/b10e85cde5d0_admin_level_add_population_area.py index 0cda5912..61457ac9 100644 --- a/src/api/qualicharge/migrations/versions/b10e85cde5d0_admin_level_add_population_area.py +++ b/src/api/qualicharge/migrations/versions/b10e85cde5d0_admin_level_add_population_area.py @@ -24,9 +24,7 @@ def upgrade() -> None: "city", sa.Column("population", sa.Integer(), nullable=True), ) - op.add_column( - "city", sa.Column("area", sa.Float(), nullable=True) - ) + op.add_column("city", sa.Column("area", sa.Float(), nullable=True)) op.add_column( "department", sa.Column("population", sa.Integer(), nullable=True), @@ -39,16 +37,12 @@ def upgrade() -> None: "epci", sa.Column("population", sa.Integer(), nullable=True), ) - op.add_column( - "epci", sa.Column("area", sa.Float(), nullable=True) - ) + op.add_column("epci", sa.Column("area", sa.Float(), nullable=True)) op.add_column( "region", sa.Column("population", sa.Integer(), nullable=True), ) - op.add_column( - "region", sa.Column("area", sa.Float(), nullable=True) - ) + op.add_column("region", sa.Column("area", sa.Float(), nullable=True)) # ### end Alembic commands ###