Some syntax errors fixed. Syntax checking added. Release checklist created.
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
| @@ -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, | ||||
|                 ) | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
| @@ -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, | ||||
|             ) | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user