summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-03-12 13:40:16 +0100
committerGitHub <noreply@github.com>2023-03-12 13:40:16 +0100
commitd6f3ae8d72e65e89560403ca2241ec604b418bdf (patch)
tree205c4ed9ac8142319c6f98b414f1101ab9acfffc /doc
parent16dd28d1692e097a819d9d4bdf6f80c9744b460a (diff)
downloadpylint-git-d6f3ae8d72e65e89560403ca2241ec604b418bdf.tar.gz
Deprecate redundant type checking guard utils (#8433) (#8439)
(cherry picked from commit b968fa062f801626426ef399401c4530e13fcc49) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/fragments/8433.internal10
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