Skip to content

False negative reimported when using an import alias #4836

Closed
@ddangu525

Description

@ddangu525

Current problem

I think it would be nice if Pylint could check if there is same import name from different packages.
For example, in the code below, import order is fine, but the 'Path' imports overlap, causing errors somewhere.

from pathlib import Path
from FastAPI import Path

Desired solution

overlapping imports found. Path

Additional context

No response

Metadata

Metadata

Assignees

Labels

False Negative 🦋No message is emitted but something is wrong with the codeNeeds PRThis issue is accepted, sufficiently specified and now needs an implementation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions