Run yapf on all python files in the repo
Signed-off-by: Ravago Jones <ravagojones@gmail.com>
Change-Id: I221e04c3f517fab8535b22551553799e0fee7a80
diff --git a/scouting/deploy/deploy.py b/scouting/deploy/deploy.py
index c9886fb..5967956 100644
--- a/scouting/deploy/deploy.py
+++ b/scouting/deploy/deploy.py
@@ -3,6 +3,7 @@
import subprocess
import sys
+
def main(argv):
"""Installs the scouting application on the scouting server."""
parser = argparse.ArgumentParser()
@@ -23,11 +24,16 @@
# Copy the .deb to the scouting server, install it, and delete it again.
subprocess.run(["rsync", "-L", args.deb, f"{args.host}:/tmp/{deb.name}"],
- check=True, stdin=sys.stdin)
+ check=True,
+ stdin=sys.stdin)
subprocess.run(f"ssh -tt {args.host} sudo dpkg -i /tmp/{deb.name}",
- shell=True, check=True, stdin=sys.stdin)
+ shell=True,
+ check=True,
+ stdin=sys.stdin)
subprocess.run(f"ssh {args.host} rm -f /tmp/{deb.name}",
- shell=True, check=True, stdin=sys.stdin)
+ shell=True,
+ check=True,
+ stdin=sys.stdin)
if __name__ == "__main__":