Skip to content

Commit b212fb4

Browse files
committed
fix linter issues
1 parent d1293f7 commit b212fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sphinx/writers/text.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def __init__(self, document: nodes.document, builder: TextBuilder) -> None:
397397
Used by visit_* and depart_* functions in conjunction with the tree
398398
traversal. Make sure that the pops correspond to the pushes.
399399
"""
400-
self.context = []
400+
self.context: list[str] = []
401401

402402
def add_text(self, text: str) -> None:
403403
self.states[-1].append((-1, text))

0 commit comments

Comments
 (0)