mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +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:
@@ -95,7 +95,7 @@ def filter_sensitive_attributes(container, attributes):
|
||||
return container
|
||||
|
||||
|
||||
class SecretVariables(object):
|
||||
class SecretVariables:
|
||||
@staticmethod
|
||||
def ensure_scaleway_secret_package(module):
|
||||
if not HAS_SCALEWAY_SECRET_PACKAGE:
|
||||
@@ -139,7 +139,7 @@ def resource_attributes_should_be_changed(target, wished, verifiable_mutable_att
|
||||
return diff
|
||||
|
||||
|
||||
class Response(object):
|
||||
class Response:
|
||||
|
||||
def __init__(self, resp, info):
|
||||
self.body = None
|
||||
@@ -167,7 +167,7 @@ class Response(object):
|
||||
return self.status_code in (200, 201, 202, 204)
|
||||
|
||||
|
||||
class Scaleway(object):
|
||||
class Scaleway:
|
||||
|
||||
def __init__(self, module):
|
||||
self.module = module
|
||||
|
||||
Reference in New Issue
Block a user