Improve detection of `TYPE_CHECKING` blocks imported from `typing_extensions` or `_typeshed` #8429
charliermarsh
marked this pull request as ready for review 2 years ago
Add `typing_extensions.TYPE_CHECKING` to detection of type checking b…
f8d12218
Re-use typing_extensions.TYPE_CHECKING if available
7e95b4b7
Remove import
cd0e48ae
Fix match in `match_typing_call_path`
545bd30c
zanieb
force pushed
from
7a2c13d2
to
545bd30c
2 years ago
zanieb
commented
on 2023-11-09
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
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
Revert extensions change
0e0e7382
zanieb
force pushed
from
42665cb1
to
0e0e7382
2 years ago
Avoid extra get_symbol
1d7499d4
zanieb
merged
565ddebb
into main 2 years ago
zanieb
deleted the zanie/type-checking branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub