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
|
|
@ -99,12 +99,6 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
from ansible.module_utils._text import to_native
|
||||
from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import Hcloud
|
||||
|
||||
try:
|
||||
from hcloud import APIException
|
||||
except ImportError:
|
||||
APIException = None
|
||||
NetworkSubnet = None
|
||||
|
||||
|
||||
class AnsibleHcloudLoadBalancerNetwork(Hcloud):
|
||||
def __init__(self, module):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue