summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-09-12 13:52:15 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-09-12 13:52:15 +0200
commitb758b549a702bf4ed5ff51178eea16a97bab702e (patch)
treeb8dcf04508796c21a8d810c97dab59ef31b33505
parentb72c0dd9a3ee5c992f94937b58de3b2153f4624d (diff)
downloadpylint-git-b758b549a702bf4ed5ff51178eea16a97bab702e.tar.gz
Disable local error
-rw-r--r--pylint/checkers/typecheck.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 9b9a0e2fd..e11902208 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -988,6 +988,7 @@ accessed. Python regular expressions are accepted.",
# Make sure that it's a valid function that we can analyze.
# Ordered from less expensive to more expensive checks.
+ # pylint: disable=too-many-boolean-expressions
if (
not function_node.is_function
or isinstance(function_node, astroid.AsyncFunctionDef)