Skip to content

Commit

Permalink
Replace strict_concatenate = True with extra_checks = True (GH-12…
Browse files Browse the repository at this point in the history
…6391)

(cherry picked from commit cc4f0a2)

Co-authored-by: sobolevn <[email protected]>
  • Loading branch information
sobolevn authored and miss-islington committed Jan 25, 2025
1 parent aa1beed commit 44163f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tools/build/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Tools/cases_generator/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tools/clinic/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44163f8

Please sign in to comment.