Most of the pep8 changes finished. Be careful, things may be horribly broken.

This commit is contained in:
Storm Dragon
2025-07-03 13:22:00 -04:00
parent 7408951152
commit 21bb9c6083
344 changed files with 6374 additions and 6083 deletions

View File

@@ -18,18 +18,18 @@ class command():
def shutdown(self):
pass
def getDescription(self):
def get_description(self):
return 'No description found'
def run(self):
if self.env['input']['oldCapsLock'] == self.env['input']['newCapsLock']:
return
if self.env['input']['newCapsLock']:
self.env['runtime']['outputManager'].presentText(
self.env['runtime']['OutputManager'].present_text(
_("Capslock on"), interrupt=True)
else:
self.env['runtime']['outputManager'].presentText(
self.env['runtime']['OutputManager'].present_text(
_("Capslock off"), interrupt=True)
def setCallback(self, callback):
def set_callback(self, callback):
pass