isort does not recognize _collections_abc as part of the standard library #2250
Open
Description
Hello,
In my repository:
https://github.com/LLyaudet/python-repeatable-iterable/blob/main/src/python_repeatable_iterable/__init__.py
I have the following imports:
from typing import Iterable, Iterator, TypeVar, cast
from _collections_abc import dict_items, dict_keys, dict_values
from python_none_objects import NoneIterable
But isort does not recognize that
from _collections_abc import dict_items, dict_keys, dict_values
is part of the standard library and regroup it like that:
from typing import Iterable, Iterator, TypeVar, cast
from _collections_abc import dict_items, dict_keys, dict_values
from python_none_objects import NoneIterable
Best regards,
Laurent Lyaudet
Metadata
Assignees
Labels
No labels