From 67710f75a544c882ea711843fa1be3759f62a885 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 10 Jun 2021 10:28:50 +0000 Subject: Format code with black This commit fixes the style issues introduced in 7259511 according to the output from black. Details: https://deepsource.io/gh/navanchauhan/SaaS-in-a-Flask/transform/32014eff-1d3e-4f61-a3b9-4003ed81a155/ --- migrations/versions/02e90d95b9e8_.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'migrations/versions') diff --git a/migrations/versions/02e90d95b9e8_.py b/migrations/versions/02e90d95b9e8_.py index c65e6ba..1c7d04c 100644 --- a/migrations/versions/02e90d95b9e8_.py +++ b/migrations/versions/02e90d95b9e8_.py @@ -10,7 +10,7 @@ import sqlalchemy as sa # revision identifiers, used by Alembic. -revision = '02e90d95b9e8' +revision = "02e90d95b9e8" down_revision = None branch_labels = None depends_on = None @@ -18,22 +18,23 @@ depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.create_table('users', - sa.Column('first_name', sa.String(), nullable=True), - sa.Column('last_name', sa.String(), nullable=True), - sa.Column('email', sa.String(length=120), nullable=False), - sa.Column('confirmation', sa.Boolean(), nullable=True), - sa.Column('paid', sa.Boolean(), nullable=True), - sa.Column('role', sa.String(), nullable=True), - sa.Column('team', sa.String(), nullable=True), - sa.Column('login_type', sa.String(), nullable=True), - sa.Column('_password', sa.String(), nullable=True), - sa.PrimaryKeyConstraint('email') + op.create_table( + "users", + sa.Column("first_name", sa.String(), nullable=True), + sa.Column("last_name", sa.String(), nullable=True), + sa.Column("email", sa.String(length=120), nullable=False), + sa.Column("confirmation", sa.Boolean(), nullable=True), + sa.Column("paid", sa.Boolean(), nullable=True), + sa.Column("role", sa.String(), nullable=True), + sa.Column("team", sa.String(), nullable=True), + sa.Column("login_type", sa.String(), nullable=True), + sa.Column("_password", sa.String(), nullable=True), + sa.PrimaryKeyConstraint("email"), ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.drop_table('users') + op.drop_table("users") # ### end Alembic commands ### -- cgit v1.2.3