diff --git a/plugins/module_utils/gpg_utils.py b/plugins/module_utils/gpg_utils.py index 4b25ab5..46d3373 100644 --- a/plugins/module_utils/gpg_utils.py +++ b/plugins/module_utils/gpg_utils.py @@ -13,7 +13,6 @@ __metaclass__ = type import os.path from pathlib import Path from typing import Union -import traceback try: diff --git a/plugins/modules/gpg_secretstore.py b/plugins/modules/gpg_secretstore.py index 02f96d9..421460b 100644 --- a/plugins/modules/gpg_secretstore.py +++ b/plugins/modules/gpg_secretstore.py @@ -184,7 +184,6 @@ warning: """ import hashlib -import traceback from pathlib import Path from ansible.module_utils.basic import AnsibleModule, missing_required_lib @@ -209,7 +208,7 @@ else: GIT_IMPORT_ERROR = None try: - import gnupg + import gnupg # pylint: disable=unused-import except ImportError as imp_exc: GNUPG_IMPORT_ERROR = imp_exc else: