Mostly cleans up code style, including but limited to
white-space fixes,
imports ordering,
built-in name shadowing (except keyword-only arguments such as
widely used eval).
src/engine.py:apply_transformation:
Adds safeguard else branch. Otherwise variable args theoretically
might get referenced before assignment.
src/sublime_resources.py:
(find_st_resources): Fixes typo in docstring.
(get_st_installation_folder):
Removes commented out link to StackOverflow answer about shutil:
there were nothing going on which wouldn't have been covered by
official Python docs.
Most of this is an automatic Ctrl+Alt+Shift+L in PyCharm, except that I had to be extra careful in actual macro plugins (for the reasons ~I'm gonna describe in an upcoming issue soon~ described in #41).
Mostly cleans up code style, including but limited to
eval
).src/engine.py:apply_transformation:
Adds safeguard
else
branch. Otherwise variableargs
theoretically might get referenced before assignment.src/sublime_resources.py:
(find_st_resources): Fixes typo in docstring. (get_st_installation_folder): Removes commented out link to StackOverflow answer about shutil: there were nothing going on which wouldn't have been covered by official Python docs.
Most of this is an automatic
Ctrl
+Alt
+Shift
+L
in PyCharm, except that I had to be extra careful in actual macro plugins (for the reasons ~I'm gonna describe in an upcoming issue soon~ described in #41).