You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ruff check --select TCH app/test.py
app/test.py:3:29: TCH003 Move standard library import `collections.abc.MutableMapping` into a type-checking block
|
1 | from __future__ import annotations
2 |
3 | from collections.abc import MutableMapping
| ^^^^^^^^^^^^^^ TCH003
4 | from functools import singledispatchmethod
5 | from typing import Any
|
= help: Move into type-checking block
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
This is almost the same as #11520 , but for
@singledispatchmethod
The text was updated successfully, but these errors were encountered: