Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2024
1 parent 170e496 commit 662c009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions robyn/scaffold/simple/postgres/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
DB_PASS = "password"
DB_PORT = "5455"

conn = psycopg2.connect(
database=DB_NAME, host=DB_HOST, user=DB_USER, password=DB_PASS, port=DB_PORT
)
conn = psycopg2.connect(database=DB_NAME, host=DB_HOST, user=DB_USER, password=DB_PASS, port=DB_PORT)

app = Robyn(__file__)

Expand Down
4 changes: 1 addition & 3 deletions robyn/scaffold/structured/sqlalchemy/migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def run_migrations_online() -> None:
Session = sessionmaker(bind=engine)

with Session() as session:
context.configure(
connection=session.connection(), target_metadata=target_metadata
)
context.configure(connection=session.connection(), target_metadata=target_metadata)
with context.begin_transaction():
context.run_migrations()

Expand Down

0 comments on commit 662c009

Please sign in to comment.