summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-18 09:04:41 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-19 16:14:13 +0200
commit056d8e5fab7a167f73115d524ab92170b3ed5f9f (patch)
tree662c8a9d8da2071ee8a7b96a8603cc2fa9f1078d /astroid/objects.py
parent8d6d31bb8f9b44c6147522c49fa099c110b067f0 (diff)
downloadastroid-git-056d8e5fab7a167f73115d524ab92170b3ed5f9f.tar.gz
[flake8] Set the max complexity to the default instead of 83
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index 1649674f..a1d886bb 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -138,7 +138,9 @@ class Super(node_classes.NodeNG):
def qname(self) -> Literal["super"]:
return "super"
- def igetattr(self, name: str, context: InferenceContext | None = None):
+ def igetattr( # noqa: C901
+ self, name: str, context: InferenceContext | None = None
+ ):
"""Retrieve the inferred values of the given attribute name."""
# '__class__' is a special attribute that should be taken directly
# from the special attributes dict