Skip to content

Commit

Permalink
Add missing future annotations imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mongkok committed May 4, 2024
1 parent bccf276 commit 5eb5aab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions debug_toolbar/dependencies.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import typing as t
from contextlib import AsyncExitStack

Expand Down
6 changes: 4 additions & 2 deletions debug_toolbar/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from __future__ import annotations

import typing as t

Stats = t.Dict[str, t.Any]
ServerTiming = t.List[t.Sequence[t.Union[str, float]]]
Stats = dict[str, t.Any]
ServerTiming = list[t.Sequence[str | float]]
2 changes: 2 additions & 0 deletions tests/panels/sqlalchemy/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import typing as t

import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/panels/sqlalchemy/test_sqlalchemy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import typing as t

import pytest
Expand Down

0 comments on commit 5eb5aab

Please sign in to comment.