Skip to content

Commit

Permalink
Apply UP006 and UP035 changes (#2025)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulgens authored Oct 31, 2024
1 parent fc4bf66 commit f9892ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debug_toolbar/_stubs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Any, List, NamedTuple, Optional, Tuple
from typing import Any, NamedTuple, Optional

from django import template as dj_template

Expand All @@ -14,7 +14,7 @@ class InspectStack(NamedTuple):
index: int


TidyStackTrace = List[Tuple[str, int, str, str, Optional[Any]]]
TidyStackTrace = list[tuple[str, int, str, str, Optional[Any]]]


class RenderContext(dj_template.context.RenderContext):
Expand Down

0 comments on commit f9892ec

Please sign in to comment.