ruff
Improve detection of `TYPE_CHECKING` blocks imported from `typing_extensions` or `_typeshed`
#8429
Merged

Improve detection of `TYPE_CHECKING` blocks imported from `typing_extensions` or `_typeshed` #8429

zanieb merged 6 commits into main from zanie/type-checking
zanieb
zanieb
zanieb
charliermarsh
charliermarsh commented on 2023-11-02
github-actions
charliermarsh
charliermarsh commented on 2023-11-09
charliermarsh charliermarsh marked this pull request as ready for review 2 years ago
charliermarsh
charliermarsh charliermarsh force pushed from e7056c8e to 7a2c13d2 2 years ago
zanieb Add `typing_extensions.TYPE_CHECKING` to detection of type checking b…
f8d12218
charliermarsh Re-use typing_extensions.TYPE_CHECKING if available
7e95b4b7
charliermarsh Remove import
cd0e48ae
zanieb Fix match in `match_typing_call_path`
545bd30c
zanieb zanieb force pushed from 7a2c13d2 to 545bd30c 2 years ago
zanieb
zanieb commented on 2023-11-09
astral-sh astral-sh deleted a comment from github-actions on 2023-11-09
zanieb zanieb changed the title Add `typing_extensions.TYPE_CHECKING` to detection of type checking blocks Improves detection of types imported from `typing_extensions` 2 years ago
zanieb zanieb added bug
zanieb zanieb changed the title Improves detection of types imported from `typing_extensions` Improve detection of `TYPE_CHECKING` blocks imported from `typing_extensions` or `_typeshed` 2 years ago
charliermarsh Revert extensions change
0e0e7382
zanieb zanieb force pushed from 42665cb1 to 0e0e7382 2 years ago
charliermarsh Avoid extra get_symbol
1d7499d4
zanieb zanieb merged 565ddebb into main 2 years ago
zanieb zanieb deleted the zanie/type-checking branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone