← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~clinton-fung/launchpad-buildd:fix-isort-order into launchpad-buildd:master

 

Clinton Fung has proposed merging ~clinton-fung/launchpad-buildd:fix-isort-order into launchpad-buildd:master.

Commit message:
Fix import order

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~clinton-fung/launchpad-buildd/+git/launchpad-buildd/+merge/495117

Fix import order
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~clinton-fung/launchpad-buildd:fix-isort-order into launchpad-buildd:master.
diff --git a/lpbuildd/target/run_ci.py b/lpbuildd/target/run_ci.py
index 79a7732..8f60ab1 100644
--- a/lpbuildd/target/run_ci.py
+++ b/lpbuildd/target/run_ci.py
@@ -1,9 +1,9 @@
 # Copyright 2022 Canonical Ltd.  This software is licensed under the
 # GNU Affero General Public License version 3 (see the file LICENSE).
 
-import subprocess
 import logging
 import os
+import subprocess
 
 from lpbuildd.target.build_snap import SnapChannelsAction
 from lpbuildd.target.operation import Operation
@@ -69,7 +69,7 @@ class RunCIPrepare(
         result = subprocess.run(
             ["sudo", "service", "apparmor", "restart"],
             capture_output=True,
-            check=True
+            check=True,
         )
         logger.info("Command output: %s" % result.stdout)
         logger.info("Command errors (if any): %s" % result.stderr)