Skip to content

Commit

Permalink
Nuke classic style super, object inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Feb 16, 2023
1 parent 5d332e2 commit 2986334
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion integration/integration.py
Expand Up @@ -5,7 +5,7 @@
from invoke import run


class integration(object):
class integration:
def setup_method(self):
self.cwd = os.getcwd()

Expand Down
2 changes: 1 addition & 1 deletion releases/line_manager.py
Expand Up @@ -11,7 +11,7 @@ def __init__(self, app):
:param app: The core Sphinx app object. Mostly used for config.
"""
super(LineManager, self).__init__()
super().__init__()
self.app = app

@property
Expand Down
2 changes: 1 addition & 1 deletion releases/models.py
Expand Up @@ -11,7 +11,7 @@ class Version(StrictVersion):
"""

def __init__(self, version_string, partial=True):
super(Version, self).__init__(version_string, partial)
super().__init__(version_string, partial)


# Issue type list (keys) + color values
Expand Down
2 changes: 1 addition & 1 deletion tests/organization.py
Expand Up @@ -17,7 +17,7 @@
)


class organization(object):
class organization:
"""
Organization of issues into releases (parsing)
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/presentation.py
Expand Up @@ -25,7 +25,7 @@ def _expect_type(node, cls):
assert isinstance(node, cls), msg


class presentation(object):
class presentation:
"""
Expansion/extension of docutils nodes (rendering)
"""
Expand Down

0 comments on commit 2986334

Please sign in to comment.