From 61bc4b968493d22867167e8d1de95adad0a7f3ed Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 18 Sep 2024 11:11:26 +0700 Subject: [PATCH] ci: update mypy check for python 3.8 --- tools/ci/check_type_comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/check_type_comments.py b/tools/ci/check_type_comments.py index d9e6c6b9af..38865b0842 100755 --- a/tools/ci/check_type_comments.py +++ b/tools/ci/check_type_comments.py @@ -29,7 +29,7 @@ def types_valid_ignored_rules(file_name): # type: (str) -> bool """ Run Mypy check with rules for ignore list on the given file, return TRUE if Mypy check passes """ - mypy_exit_code = subprocess.call('mypy {} --python-version 3.7 --allow-untyped-defs'.format(file_name), shell=True) + mypy_exit_code = subprocess.call('mypy {} --python-version 3.8 --allow-untyped-defs'.format(file_name), shell=True) return not bool(mypy_exit_code)