summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-12-14 03:10:31 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-12-14 03:10:31 +0200
commitd65e7cd75d368a075ff271c8320e94ebf2f2d9b1 (patch)
tree0c5dd609a5c90f447323e65ca571a6eb74fd68dd /astroid/objects.py
parentd4d1842ed2c3b51de80869ad0b423f11b1937987 (diff)
downloadastroid-git-d65e7cd75d368a075ff271c8320e94ebf2f2d9b1.tar.gz
Cleanup pylint's warnings over astroid codebase
Some of the messages were disabled in pylintrc, since they're not very useful for our case. Other parameters, such as the number of arguments / statements / attributes etc were configured so that they won't be too restrictive for our codebase, since making the code to respect them right now requires too much development changes, which is not justified by the end result. Closes issue #284.
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index c880a4d4..e948396f 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -49,7 +49,7 @@ class FrozenSet(node_classes._BaseContainer):
yield self
@decorators.cachedproperty
- def _proxied(self):
+ def _proxied(self): # pylint: disable=method-hidden
builtins = MANAGER.astroid_cache[BUILTINS]
return builtins.getattr('frozenset')[0]
@@ -66,7 +66,7 @@ class Super(node_classes.NodeNG):
*self_class* is the class where the super call is, while
*scope* is the function where the super call is.
"""
-
+ # pylint: disable=super-init-not-called
def __init__(self, mro_pointer, mro_type, self_class, scope):
self.type = mro_type
self.mro_pointer = mro_pointer