Used isort to sort imports. Also added to the git pre-commit hook.
[python_utils.git] / orb_utils.py
index 5bc6d1a9abd6ae8addba94138b7dc15082a11031..6a12b6f7b1970e92d0697b3633ac35db72895555 100644 (file)
@@ -6,7 +6,6 @@ import os
 
 import config
 
-
 parser = config.add_commandline_args(
     f"Orb Utils ({__file__})",
     "Args having to do with controlling Scott's Orb.",
@@ -16,20 +15,18 @@ parser.add_argument(
     default="/Users/scott/orb_color",
     metavar="FILENAME",
     type=str,
-    help="The location of the orb file on whatever machine is hosting it."
+    help="The location of the orb file on whatever machine is hosting it.",
 )
 parser.add_argument(
     "--orb_utils_user_machine",
     default="[email protected]",
     metavar="USER@HOSTNAME",
     type=str,
-    help="The username/machine combo that is hosting the orb."
+    help="The username/machine combo that is hosting the orb.",
 )
 
 
 def make_orb(color: str) -> None:
     user_machine = config.config['orb_utils_user_machine']
     orbfile_path = config.config['orb_utils_file_location']
-    os.system(
-        f"ssh {user_machine} 'echo \"{color}\" > {orbfile_path}'"
-    )
+    os.system(f"ssh {user_machine} 'echo \"{color}\" > {orbfile_path}'")