Skip to content

Commit

Permalink
Fix format and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Hadley committed Mar 29, 2023
1 parent 0ff8880 commit b1e68de
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from logging.config import fileConfig

from alembic import context
from sqlalchemy import engine_from_config
from sqlalchemy import pool

from entropylab.pipeline.params.persistence.sqlalchemy.model import Base

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def close(self):

def get_commit(
self, commit_id: Optional[str] = None, commit_num: Optional[int] = None
):
):
if commit_id:
with self.__session_maker() as session:
commit = (
Expand Down
2 changes: 0 additions & 2 deletions entropylab/pipeline/results_backend/sqlalchemy/alembic/env.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from logging.config import fileConfig

from alembic import context
from sqlalchemy import engine_from_config
from sqlalchemy import pool

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
Expand Down

0 comments on commit b1e68de

Please sign in to comment.