mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
lint: fix unused-import errors (#195)
The linting rule `unused-import` was recently activated in ansible-test. This commit removes all unused imports to satify the linting rule.
This commit is contained in:
parent
e218306028
commit
43ae035040
27 changed files with 2 additions and 130 deletions
|
|
@ -144,10 +144,8 @@ from ansible.module_utils._text import to_native
|
|||
from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import Hcloud
|
||||
|
||||
try:
|
||||
from hcloud import APIException
|
||||
from hcloud.load_balancers.domain import LoadBalancerTarget, LoadBalancerTargetLabelSelector, LoadBalancerTargetIP
|
||||
except ImportError:
|
||||
APIException = None
|
||||
LoadBalancerTarget = None
|
||||
LoadBalancerTargetLabelSelector = None
|
||||
LoadBalancerTargetIP = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue