chore(gpg_secretstore): remove unused imports and disable lint for false-positive

This commit is contained in:
Jan Christian Grünhage 2023-12-12 10:51:50 +01:00
parent d17dfab09e
commit bb26511367
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED
2 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,6 @@ __metaclass__ = type
import os.path
from pathlib import Path
from typing import Union
import traceback
try:

View file

@ -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: