Skip to content

Commit 68a95de

Browse files
Update formatting
1 parent d09f96d commit 68a95de

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/reactpy/executors/asgi/pyscript.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def __init__(
3232
initial: str | VdomDict = "",
3333
http_headers: dict[str, str] | None = None,
3434
html_head: VdomDict | None = None,
35-
html_noscript_str_or_path: str | Path | None = "Enable JavaScript to view this site.",
35+
html_noscript_str_or_path: str
36+
| Path
37+
| None = "Enable JavaScript to view this site.",
3638
html_lang: str = "en",
3739
**settings: Unpack[ReactPyConfig],
3840
) -> None:

src/reactpy/executors/asgi/standalone.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def __init__(
5050
*,
5151
http_headers: dict[str, str] | None = None,
5252
html_head: VdomDict | None = None,
53-
html_noscript_str_or_path: str | Path | None = "Enable JavaScript to view this site.",
53+
html_noscript_str_or_path: str
54+
| Path
55+
| None = "Enable JavaScript to view this site.",
5456
html_lang: str = "en",
5557
pyscript_setup: bool = False,
5658
pyscript_options: PyScriptOptions | None = None,

0 commit comments

Comments
 (0)