Skip to content

Commit

Permalink
fix: convert to f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Oct 4, 2023
1 parent e59ee24 commit a1dd8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions advanced_alchemy/extensions/litestar/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def upgrade_database(app: Litestar, revision: str, sql: bool, tag: str | None, n
input_confirmed = (
True
if no_prompt
else Confirm.ask("[bold]Are you sure you you want migrate the database to the `{revision}` revision?[/]")
else Confirm.ask(f"[bold]Are you sure you you want migrate the database to the `{revision}` revision?[/]")
)
if input_confirmed:
alembic_commands = AlembicCommands(app=app)
Expand Down Expand Up @@ -134,7 +134,7 @@ def init_alembic(app: Litestar, directory: str | None, multidb: bool, package: b
input_confirmed = (
True
if no_prompt
else Confirm.ask("[bold]Are you sure you you want initialize the project in `{directory}`?[/]")
else Confirm.ask(f"[bold]Are you sure you you want initialize the project in `{directory}`?[/]")
)
if input_confirmed:
alembic_commands = AlembicCommands(app)
Expand Down

0 comments on commit a1dd8ca

Please sign in to comment.