Skip to content

Commit

Permalink
Format Python code with Black
Browse files Browse the repository at this point in the history
Signed-off-by: black <[email protected]>
  • Loading branch information
actions-user committed Aug 23, 2024
1 parent c07a419 commit 5df9401
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openstef_dbc/data_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ def _create_mysql_engine(
"""
connector = "mysql+pymysql"
database_url = (
f"{connector}://{username}:{password}@{host}:{port}/{db}"
)
database_url = f"{connector}://{username}:{password}@{host}:{port}/{db}"
try:
return sqlalchemy.create_engine(database_url)
except Exception as exc:
Expand Down

0 comments on commit 5df9401

Please sign in to comment.