From: sobolevn Date: Sat, 25 Jan 2025 09:44:23 +0000 (+0300) Subject: Replace `strict_concatenate = True` with `extra_checks = True` (#126391) X-Git-Tag: v3.14.0a5~244 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc4f0a27704ba1401bd66931f5234be9c6b92ba5;p=thirdparty%2FPython%2Fcpython.git Replace `strict_concatenate = True` with `extra_checks = True` (#126391) --- diff --git a/Tools/build/mypy.ini b/Tools/build/mypy.ini index cf1dac7fde5a..0e5d6e874a72 100644 --- a/Tools/build/mypy.ini +++ b/Tools/build/mypy.ini @@ -8,6 +8,6 @@ python_version = 3.10 # ...And be strict: strict = True -strict_concatenate = True +extra_checks = True enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined warn_unreachable = True diff --git a/Tools/cases_generator/mypy.ini b/Tools/cases_generator/mypy.ini index 8e5a31851c59..e54349bf54a9 100644 --- a/Tools/cases_generator/mypy.ini +++ b/Tools/cases_generator/mypy.ini @@ -8,7 +8,7 @@ python_version = 3.10 # ...And be strict: strict = True -strict_concatenate = True +extra_checks = True enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined warn_unreachable = True allow_redefinition = True diff --git a/Tools/clinic/mypy.ini b/Tools/clinic/mypy.ini index b1fdad673c61..6520e05db0bc 100644 --- a/Tools/clinic/mypy.ini +++ b/Tools/clinic/mypy.ini @@ -7,6 +7,6 @@ python_version = 3.10 # and be strict! strict = True -strict_concatenate = True +extra_checks = True enable_error_code = ignore-without-code,redundant-expr,truthy-bool warn_unreachable = True