Skip to content

Commit

Permalink
style(setup): Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
kristikotini committed May 14, 2024
1 parent b445832 commit 564ee59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project/backend/codebase/common/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ async def get_db_session(request: Request) -> AsyncGenerator[AsyncSession, None]
yield session
finally:
await session.commit()
await session.close()
await session.close()
2 changes: 1 addition & 1 deletion Project/backend/codebase/monitoring/models/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

class HealthCheck(Base, TrackedModel):
__tablename__ = "healthcheck"
__table_args__ = {'extend_existing': True}
__table_args__ = {"extend_existing": True}
2 changes: 1 addition & 1 deletion Project/backend/scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
APP_PATH="codebase"

ruff $APP_PATH --fix
black $APP_PATH
black $APP_PATH --exclude "migrations"
2 changes: 1 addition & 1 deletion Project/backend/scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
APP_PATH="codebase"

ruff $APP_PATH
black $APP_PATH --check
black $APP_PATH --check --exclude "migrations"

0 comments on commit 564ee59

Please sign in to comment.