mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Cleanup: remove unicode prefix, remove explicit inheritance from object (#11015)
* Address UP025: remove unicode literals from strings. * Address UP004: class inherits from 'object'.
This commit is contained in:
@@ -158,7 +158,7 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.version import LooseVersion
|
||||
|
||||
|
||||
class Device(object):
|
||||
class Device:
|
||||
def __init__(self, module, path):
|
||||
self.module = module
|
||||
self.path = path
|
||||
@@ -199,7 +199,7 @@ class Device(object):
|
||||
return self.path
|
||||
|
||||
|
||||
class Filesystem(object):
|
||||
class Filesystem:
|
||||
|
||||
MKFS: str | None = None
|
||||
MKFS_FORCE_FLAGS: list[str] | None = []
|
||||
|
||||
Reference in New Issue
Block a user