Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Jun 3, 2023
1 parent d1293f7 commit b212fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/writers/text.py
Expand Up @@ -397,7 +397,7 @@ def __init__(self, document: nodes.document, builder: TextBuilder) -> None:
Used by visit_* and depart_* functions in conjunction with the tree
traversal. Make sure that the pops correspond to the pushes.
"""
self.context = []
self.context: list[str] = []

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

0 comments on commit b212fb4

Please sign in to comment.