diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-03-12 04:07:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 09:07:42 +0100 |
commit | b968fa062f801626426ef399401c4530e13fcc49 (patch) | |
tree | 0c882c0f4c9eb40df297784f158274bfc12c7a5c /doc | |
parent | b312b9a66472e17d02461258d2156d670481a7f6 (diff) | |
download | pylint-git-b968fa062f801626426ef399401c4530e13fcc49.tar.gz |
Deprecate redundant type checking guard utils (#8433)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/fragments/8433.internal | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/whatsnew/fragments/8433.internal b/doc/whatsnew/fragments/8433.internal new file mode 100644 index 000000000..4bc20c493 --- /dev/null +++ b/doc/whatsnew/fragments/8433.internal @@ -0,0 +1,10 @@ +The following utilities are deprecated in favor of the more robust ``in_type_checking_block`` +and will be removed in pylint 3.0: + + - ``is_node_in_guarded_import_block`` + - ``is_node_in_typing_guarded_import_block`` + - ``is_typing_guard`` + +``is_sys_guard`` is still available, which was part of ``is_node_in_guarded_import_block``. + +Refs #8433 |