From 5e4519301c0131ae0fe8dcdc8fab40fff656fdaf Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sat, 18 Nov 2023 10:01:40 -0600 Subject: [PATCH] Formatting --- build.py | 1 + main.py | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index f973fe2..5727c03 100644 --- a/build.py +++ b/build.py @@ -1,6 +1,7 @@ def build(): from os import system as cmd from editor import edit + cmd("clear") # useEditor = input("Run Version Editor (Y|*)? ").upper() # if useEditor == "Y": diff --git a/main.py b/main.py index e9df72b..18b3e1f 100644 --- a/main.py +++ b/main.py @@ -10,13 +10,22 @@ print("Should be nothing from here") import package.src.firepup650 as fp print("Until here (Half-second sleep)") -fp.sleep(.5) -bob = fp.menu({"Yes":"Y", "No": ""}, "(If owner) Build?") +fp.sleep(0.5) +bob = fp.menu({"Yes": "Y", "No": ""}, "(If owner) Build?") system("clear") if environ["REPL_OWNER"] == "Firepup650" and bob == "Y": build() exit() else: - print(fp.menu({"a": "hi", "Some fairly long second test case": ["a", "b", "c"], "A third test": 0}, "Test menu")) + print( + fp.menu( + { + "a": "hi", + "Some fairly long second test case": ["a", "b", "c"], + "A third test": 0, + }, + "Test menu", + ) + ) fp.console.warn("Test Warning") fp.e("No demo yet!")