mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
[PR #6928/70503411 backport][stable-7] remove noqa exceptions (#6943)
remove noqa exceptions (#6928)
* remove noqa exceptions
* add changelog frag
* review from PR
(cherry picked from commit 70503411ee
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
bb80ff6aee
commit
c82362194b
6 changed files with 10 additions and 38 deletions
|
@ -177,12 +177,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue