diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-14 03:10:31 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-14 03:10:31 +0200 |
commit | d65e7cd75d368a075ff271c8320e94ebf2f2d9b1 (patch) | |
tree | 0c5dd609a5c90f447323e65ca571a6eb74fd68dd /astroid/exceptions.py | |
parent | d4d1842ed2c3b51de80869ad0b423f11b1937987 (diff) | |
download | astroid-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/exceptions.py')
-rw-r--r-- | astroid/exceptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index 3cfadbd2..98a0f881 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -34,6 +34,7 @@ class AstroidError(Exception): arguments. """ def __init__(self, message='', **kws): + super(AstroidError, self).__init__(message) self.message = message for key, value in kws.items(): setattr(self, key, value) @@ -202,4 +203,4 @@ BinaryOperationError = util.BadBinaryOperationMessage SuperArgumentTypeError = SuperError UnresolvableName = NameInferenceError NotFoundError = AttributeInferenceError -AstroidBuildingException = AstroidBuildingError
\ No newline at end of file +AstroidBuildingException = AstroidBuildingError |