summary refs log tree commit diff
path: root/stubs/frozendict.pyi
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-12-21 13:05:21 -0500
committerGitHub <noreply@github.com>2022-12-21 13:05:21 -0500
commit7010a3d0151b88b3a9a7451201eaf9c5bbe48d64 (patch)
treeb5214edd8759b4334451d10a36fe7835c58fc76b /stubs/frozendict.pyi
parentBump minimum PyYAML to 3.13. (#14720) (diff)
downloadsynapse-7010a3d0151b88b3a9a7451201eaf9c5bbe48d64.tar.xz
Switch to ruff instead of flake8. (#14633)
ruff is a flake8-compatible Python linter written in Rust.
It supports the flake8 plugins that we use and is significantly
faster in testing.
Diffstat (limited to 'stubs/frozendict.pyi')
-rw-r--r--stubs/frozendict.pyi2
1 files changed, 2 insertions, 0 deletions
diff --git a/stubs/frozendict.pyi b/stubs/frozendict.pyi
index 24c6f3af77..196dee4461 100644
--- a/stubs/frozendict.pyi
+++ b/stubs/frozendict.pyi
@@ -14,6 +14,8 @@
 
 # Stub for frozendict.
 
+from __future__ import annotations
+
 from typing import Any, Hashable, Iterable, Iterator, Mapping, Tuple, TypeVar, overload
 
 _KT = TypeVar("_KT", bound=Hashable)  # Key type.