diff --git a/plugins/modules/os_server_metadata.py b/plugins/modules/os_server_metadata.py index e5719db3..370e35e7 100644 --- a/plugins/modules/os_server_metadata.py +++ b/plugins/modules/os_server_metadata.py @@ -98,9 +98,11 @@ metadata: ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.openstack.cloud.plugins.module_utils.openstack import (openstack_full_argument_spec, - openstack_module_kwargs, - openstack_cloud_from_module) +from ansible_collections.openstack.cloud.plugins.module_utils.openstack import ( + openstack_full_argument_spec, + openstack_module_kwargs, + openstack_cloud_from_module, +) def _needs_update(server_metadata=None, metadata=None): diff --git a/plugins/modules/os_volume_snapshot.py b/plugins/modules/os_volume_snapshot.py index 0c744a0d..bbb59758 100644 --- a/plugins/modules/os_volume_snapshot.py +++ b/plugins/modules/os_volume_snapshot.py @@ -91,9 +91,11 @@ snapshot: ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.openstack.cloud.plugins.module_utils.openstack import (openstack_full_argument_spec, - openstack_module_kwargs, - openstack_cloud_from_module) +from ansible_collections.openstack.cloud.plugins.module_utils.openstack import ( + openstack_full_argument_spec, + openstack_module_kwargs, + openstack_cloud_from_module, +) def _present_volume_snapshot(module, cloud): diff --git a/tox.ini b/tox.ini index 47a63853..80d60d5d 100644 --- a/tox.ini +++ b/tox.ini @@ -49,9 +49,9 @@ commands = {posargs} # Also, both openstacksdk and Donald Knuth disagree with the rule. Line # breaks should occur before the binary operator for readability. # H4 are rules for docstrings. Maybe we should clean them? -# E501,E402,H301,H236,F401,E128 are ignored so we can import the existing +# E501,E402,H301,H236,F401 are ignored so we can import the existing # modules unchanged and then clean them in subsequent patches. -ignore = W503,H4,E501,E402,H301,H236,F401,E128,W504 +ignore = W503,H4,E501,E402,H301,H236,F401,W504 show-source = True exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,ansible_collections