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:
Felix Fontein
2025-10-30 20:17:10 +01:00
committed by GitHub
parent f61847b116
commit 0c5466de47
242 changed files with 329 additions and 331 deletions

View File

@@ -88,7 +88,7 @@ def fqdn_valid(name, min_labels=1, allow_underscores=False):
return (fobj.is_valid)
class TestModule(object):
class TestModule:
''' Ansible test hostname validity.
https://pypi.org/project/fqdn/
'''