remove noqa exceptions (#6928)

* remove noqa exceptions

* add changelog frag

* review from PR
This commit is contained in:
Alexei Znamensky 2023-07-15 22:54:28 +12:00 committed by GitHub
commit 70503411ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 38 deletions

View file

@ -151,12 +151,6 @@ instance:
}
'''
HAS_XENAPI = False
try:
import XenAPI # noqa: F401, pylint: disable=unused-import
HAS_XENAPI = True
except ImportError:
pass
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.xenserver import (xenserver_common_argument_spec, XenServerObject, get_object_ref,