From fd0587ad73c8daf4c228762882ba5161fa6505b6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 19:53:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- convert2rhel/actions/post_conversion/hostmetering.py | 2 -- convert2rhel/actions/pre_ponr_changes/kernel_modules.py | 1 - convert2rhel/actions/system_checks/is_loaded_kernel_latest.py | 2 -- convert2rhel/actions/system_checks/package_updates.py | 2 -- convert2rhel/actions/system_checks/tainted_kmods.py | 2 -- 5 files changed, 9 deletions(-) diff --git a/convert2rhel/actions/post_conversion/hostmetering.py b/convert2rhel/actions/post_conversion/hostmetering.py index c9ecad5d69..7a77b49f30 100644 --- a/convert2rhel/actions/post_conversion/hostmetering.py +++ b/convert2rhel/actions/post_conversion/hostmetering.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, systeminfo from convert2rhel.logger import root_logger from convert2rhel.pkgmanager import call_yum_cmd diff --git a/convert2rhel/actions/pre_ponr_changes/kernel_modules.py b/convert2rhel/actions/pre_ponr_changes/kernel_modules.py index 24e0532b5f..640bbbfdd6 100644 --- a/convert2rhel/actions/pre_ponr_changes/kernel_modules.py +++ b/convert2rhel/actions/pre_ponr_changes/kernel_modules.py @@ -16,7 +16,6 @@ __metaclass__ = type import itertools -import os import re from functools import cmp_to_key diff --git a/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py b/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py index 8d4a1e63e0..e092a63fd9 100644 --- a/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py +++ b/convert2rhel/actions/system_checks/is_loaded_kernel_latest.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, repo from convert2rhel.logger import root_logger from convert2rhel.pkghandler import compare_package_versions diff --git a/convert2rhel/actions/system_checks/package_updates.py b/convert2rhel/actions/system_checks/package_updates.py index c1040f86e2..67bcda3d5a 100644 --- a/convert2rhel/actions/system_checks/package_updates.py +++ b/convert2rhel/actions/system_checks/package_updates.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions, pkgmanager, utils from convert2rhel.logger import root_logger from convert2rhel.pkghandler import get_total_packages_to_update diff --git a/convert2rhel/actions/system_checks/tainted_kmods.py b/convert2rhel/actions/system_checks/tainted_kmods.py index 33ce771f45..21147ac5e7 100644 --- a/convert2rhel/actions/system_checks/tainted_kmods.py +++ b/convert2rhel/actions/system_checks/tainted_kmods.py @@ -16,8 +16,6 @@ __metaclass__ = type -import os - from convert2rhel import actions from convert2rhel.logger import root_logger from convert2rhel.utils import run_subprocess, warn_deprecated_env