Skip to content

Commit 98c0d26

Browse files
pre-commit-ci[bot]AnneCYH
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 21cfdee commit 98c0d26

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sphinx_tags/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ def run(self):
111111

112112
return [result]
113113

114-
def _get_plaintext_node(
115-
self, tag: str, file_basename: str
116-
) -> List[nodes.Node]:
114+
def _get_plaintext_node(self, tag: str, file_basename: str) -> List[nodes.Node]:
117115
"""Get a plaintext reference link for the given tag"""
118116
link = Path(self.env.app.config.tags_output_dir) / f"{file_basename}/"
119117
return nodes.reference(refuri="/" + str(link), text=tag)

0 commit comments

Comments
 (0)