Open r4f opened 3 months ago
If in two sibiling modules a and b, crosswise imports are stated as from . import b and from . import a respectively, then the targets b and a (the argument named object_name) are disregarded in https://github.com/hartwork/no-cyclic-imports/blob/d83976a6085851d58215c0f6e398195284079080/no_cyclic_imports/_imports.py#L127C1-L133C14
a
b
from . import b
from . import a
object_name
@r4f nice catch! :+1:
If in two sibiling modules
a
andb
, crosswise imports are stated asfrom . import b
andfrom . import a
respectively, then the targetsb
anda
(the argument namedobject_name
) are disregarded in https://github.com/hartwork/no-cyclic-imports/blob/d83976a6085851d58215c0f6e398195284079080/no_cyclic_imports/_imports.py#L127C1-L133C14