Skip to content

Commit

Permalink
Fix formatting for flake8 in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Mar 4, 2024
1 parent 0576a53 commit 5a36d19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shinylive/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def cleanup(
short_help="Remove a specific version of local copies of assets.",
help=f"""Remove a specific version (`VERSION`) of local copies of assets."
For example, `VERSION` might be `{ SHINYLIVE_ASSETS_VERSION }`.
For example, `VERSION` might be `{SHINYLIVE_ASSETS_VERSION}`.
""",
no_args_is_help=True,
)
Expand Down Expand Up @@ -461,7 +461,7 @@ def app_resources(
def defunct_help(cmd: str) -> str:
return f"""The shinylive CLI command `{cmd}` is defunct.
You are using a newer version of the Python shinylive package ({ SHINYLIVE_PACKAGE_VERSION }) with an older
You are using a newer version of the Python shinylive package ({SHINYLIVE_PACKAGE_VERSION}) with an older
version of the Quarto shinylive extension, and these versions are not compatible.
Please update your Quarto shinylive extension by running this command in the top level
Expand Down Expand Up @@ -626,7 +626,7 @@ def decode(url: str, dir: Optional[str] = None, json: bool = False) -> None:


def defunct_error_txt(cmd: str) -> str:
return f"Error: { defunct_help(cmd) }"
return f"Error: {defunct_help(cmd)}"


def raise_defunct(cmd: str) -> None:
Expand Down

0 comments on commit 5a36d19

Please sign in to comment.