Skip to content

Comments

[pylint] Remove check for dot in alias name in useless-import-alias (PLC0414)#14345

Merged
dylwil3 merged 1 commit intoastral-sh:mainfrom
dylwil3:isort-followup
Nov 14, 2024
Merged

[pylint] Remove check for dot in alias name in useless-import-alias (PLC0414)#14345
dylwil3 merged 1 commit intoastral-sh:mainfrom
dylwil3:isort-followup

Conversation

@dylwil3
Copy link
Collaborator

@dylwil3 dylwil3 commented Nov 14, 2024

Follow-up to #14287 : when checking that name is the same as as_name in import name as as_name, we do not need to first do an early return if '.' is found in name.

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@dylwil3 dylwil3 merged commit ba6c7f6 into astral-sh:main Nov 14, 2024
@dylwil3 dylwil3 deleted the isort-followup branch November 14, 2024 22:26
@dhruvmanila dhruvmanila added the internal An internal refactor or improvement label Nov 15, 2024
@dylwil3 dylwil3 restored the isort-followup branch November 17, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants