mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
chore(gpg_secretstore): remove unused imports and disable lint for false-positive
This commit is contained in:
parent
d17dfab09e
commit
bb26511367
2 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,6 @@ __metaclass__ = type
|
|||
import os.path
|
||||
from pathlib import Path
|
||||
from typing import Union
|
||||
import traceback
|
||||
|
||||
|
||||
try:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue