Skip to content

Commit 7e4be3f

Browse files
author
Christian Knittl-Frank
committed
Fix MRO
1 parent cc0a196 commit 7e4be3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sphinxcontrib/scm/directives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
logger = logging.getLogger(f"sphinxcontrib-scm.{__name__}")
1515

1616

17-
class ContribsDirective(Helper, SphinxDirective):
17+
class ContribsDirective(SphinxDirective, Helper):
1818
has_content = False
1919
optional_arguments = 0
2020
option_spec = {

src/sphinxcontrib/scm/roles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
logger = logging.getLogger(f"sphinxcontrib-scm.{__name__}")
1313

1414

15-
class ContribsRole(Helper, SphinxRole):
15+
class ContribsRole(SphinxRole, Helper):
1616
def run(self) -> tuple[list[Node], list[system_message]]:
1717
"""Role to list all SCM contributors"""
1818
contributors = self.get_contibutors()

0 commit comments

Comments
 (0)