summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--pylint/checkers/utils.py2
-rw-r--r--requirements_test_pre_commit.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6c3bd79b4..dbcd90a67 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -77,7 +77,7 @@ repos:
types: [text] # necessary to include ChangeLog file
files: ^(ChangeLog|doc/(.*/)*.*\.rst)
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v0.920
+ rev: v0.930
hooks:
- id: mypy
name: mypy
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index d89b39d9f..cd72e38ee 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -337,7 +337,7 @@ def is_builtin_object(node: nodes.NodeNG) -> bool:
def is_builtin(name: str) -> bool:
"""return true if <name> could be considered as a builtin defined by python"""
- return name in builtins or name in SPECIAL_BUILTINS # type: ignore[operator]
+ return name in builtins or name in SPECIAL_BUILTINS # type: ignore[attr-defined]
def is_defined_in_scope(
diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt
index e94238771..007e59b4f 100644
--- a/requirements_test_pre_commit.txt
+++ b/requirements_test_pre_commit.txt
@@ -4,4 +4,4 @@ black==21.12b0
flake8==4.0.1
flake8-typing-imports==1.12.0
isort==5.10.1
-mypy==0.920
+mypy==0.930