Skip to content

Commit 298f884

Browse files
committed
style(cli): reformat pn.py for Black 2026 stable style
1 parent a65b89b commit 298f884

File tree

1 file changed

+2
-4
lines changed
  • src/pythonnative/cli

1 file changed

+2
-4
lines changed

src/pythonnative/cli/pn.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ def init_project(args: argparse.Namespace) -> None:
4444
main_page_py = os.path.join(app_dir, "main_page.py")
4545
if not os.path.exists(main_page_py) or args.force:
4646
with open(main_page_py, "w", encoding="utf-8") as f:
47-
f.write(
48-
"""import pythonnative as pn
47+
f.write("""import pythonnative as pn
4948
5049
5150
class MainPage(pn.Page):
@@ -67,8 +66,7 @@ def render(self):
6766
alignment="fill",
6867
)
6968
)
70-
"""
71-
)
69+
""")
7270

7371
# Create config
7472
config = {

0 commit comments

Comments
 (0)