Skip to content

Commit 6797cac

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 075980b commit 6797cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/semanal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
from __future__ import annotations
5252

5353
import re
54+
import warnings
5455
from collections.abc import Collection, Iterable, Iterator
5556
from contextlib import contextmanager
5657
from typing import Any, Callable, Final, TypeVar, cast
@@ -309,7 +310,6 @@
309310
from mypy.typevars import fill_typevars
310311
from mypy.util import correct_relative_import, is_dunder, module_prefix, unmangle, unnamed_function
311312
from mypy.visitor import NodeVisitor
312-
import warnings
313313

314314
T = TypeVar("T")
315315

0 commit comments

Comments
 (0)