summaryrefslogtreecommitdiff
path: root/astroid
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-05-12 08:10:44 -0400
committerGitHub <noreply@github.com>2023-05-12 14:10:44 +0200
commite1b577ab43a45e7ca0398cd73833a00539d74f18 (patch)
tree16081152dce41ef8b2acfe7f932be6730234197d /astroid
parent2cd9e90e80a1eb3318e4351ea3b8b3e8c83c235b (diff)
downloadastroid-git-e1b577ab43a45e7ca0398cd73833a00539d74f18.tar.gz
Remove pylint disables and resolves TODO in pylintrc (#2175)
Diffstat (limited to 'astroid')
-rw-r--r--astroid/decorators.py1
-rw-r--r--astroid/manager.py1
-rw-r--r--astroid/nodes/scoped_nodes/scoped_nodes.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/astroid/decorators.py b/astroid/decorators.py
index 180e08c4..8baca60b 100644
--- a/astroid/decorators.py
+++ b/astroid/decorators.py
@@ -91,7 +91,6 @@ def raise_if_nothing_inferred(
except StopIteration as error:
# generator is empty
if error.args:
- # pylint: disable=not-a-mapping
raise InferenceError(**error.args[0]) from error
raise InferenceError(
"StopIteration raised without any error information."
diff --git a/astroid/manager.py b/astroid/manager.py
index 7f62fd42..7b026303 100644
--- a/astroid/manager.py
+++ b/astroid/manager.py
@@ -262,7 +262,6 @@ class AstroidManager:
except ValueError:
continue
try:
- # pylint: disable-next=no-member
importer = zipimport.zipimporter(eggpath + ext)
zmodname = resource.replace(os.path.sep, ".")
if importer.is_package(resource):
diff --git a/astroid/nodes/scoped_nodes/scoped_nodes.py b/astroid/nodes/scoped_nodes/scoped_nodes.py
index c5d328f6..cceac36d 100644
--- a/astroid/nodes/scoped_nodes/scoped_nodes.py
+++ b/astroid/nodes/scoped_nodes/scoped_nodes.py
@@ -1751,7 +1751,6 @@ def get_wrapping_class(node):
return klass
-# pylint: disable=too-many-instance-attributes
class ClassDef(
_base_nodes.FilterStmtsBaseNode, LocalsDictNodeNG, _base_nodes.Statement
):