Skip to content

Commit

Permalink
tbtools: Add typing to out to appease mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinji authored Dec 11, 2024
1 parent df0119b commit e32ca9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/werkzeug/debug/tbtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def __str__(self) -> str:
def all_tracebacks(
self,
) -> list[tuple[str | None, traceback.TracebackException]]:
out = []
out: list[tuple[str | None, traceback.TracebackException]] = []
current: traceback.TracebackException | None = self._te

while current is not None:
Expand Down

0 comments on commit e32ca9c

Please sign in to comment.