Some syntax errors fixed. Syntax checking added. Release checklist created.

This commit is contained in:
Storm Dragon
2025-07-24 13:52:10 -04:00
parent b6a9e1a692
commit 8c233e0385
15 changed files with 1867 additions and 13 deletions

View File

@ -24,9 +24,8 @@ class command:
def run(self):
try:
self.env["runtime"]["OutputManager"].present_text(
f"Fenrir screen reader version {
fenrirVersion.version}-{
fenrirVersion.code_name}",
f"Fenrir screen reader version "
f"{fenrirVersion.version}-{fenrirVersion.code_name}",
interrupt=True,
)
except Exception as e:

View File

@ -59,8 +59,7 @@ class command(config_command):
except Exception as e:
self.present_text(
f"Failed to reset configuration: {
str(e)}",
f"Failed to reset configuration: {str(e)}",
interrupt=False,
flush=False,
)

View File

@ -34,8 +34,7 @@ class command:
SpeechDriver.initialize(self.env)
except Exception as e:
print(
f"revert_to_saved SpeechDriver: Error reinitializing speech driver: {
str(e)}"
f"revert_to_saved SpeechDriver: Error reinitializing speech driver: {str(e)}"
)
# Reinitialize sound system with restored settings

View File

@ -45,8 +45,7 @@ class command:
self.env["runtime"]["SpeechDriver"].set_rate(new_rate)
except Exception as e:
print(
f"adjust_speech_rate set_rate: Error setting speech rate: {
str(e)}"
f"adjust_speech_rate set_rate: Error setting speech rate: {str(e)}"
)
new_percent = int(new_rate * 100)

View File

@ -29,9 +29,7 @@ class DynamicVoiceCommand:
def run(self):
try:
self.env["runtime"]["OutputManager"].present_text(
f"Testing voice {
self.voice} from {
self.module}. Please wait.",
f"Testing voice {self.voice} from {self.module}. Please wait.",
interrupt=True,
)

View File

@ -4,6 +4,6 @@
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributors.
version = "2025.07.23"
version = "2025.07.24"
codeName = "testing"
code_name = "testing"