pycodestyle: Module level import not at top of file
Changes:
- Added NOQA on python files import to skip CI
- Fix import order reported by CI.
Tested:
- CI will catch this if there is error
Change-Id: I39a11d3e815a08488671ed948f073828e19aee37
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/code_update_utils.py b/lib/code_update_utils.py
index e8ee562..212dc3d 100644
--- a/lib/code_update_utils.py
+++ b/lib/code_update_utils.py
@@ -4,6 +4,8 @@
This module provides utilities for code updates.
"""
+from robot.libraries.BuiltIn import BuiltIn
+
import os
import re
import sys
@@ -16,11 +18,10 @@
repo_data_path = re.sub('/lib', '/data', robot_pgm_dir_path)
sys.path.append(repo_data_path)
-import bmc_ssh_utils as bsu
-import gen_robot_keyword as keyword
-import gen_print as gp
-import variables as var
-from robot.libraries.BuiltIn import BuiltIn
+import bmc_ssh_utils as bsu # NOQA
+import gen_robot_keyword as keyword # NOQA
+import gen_print as gp # NOQA
+import variables as var # NOQA
def get_bmc_firmware(image_type, sw_dict):