Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace strict_concatenate = True with extra_checks = True #126391

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Nov 4, 2024

This option was deprecated in mypy. See python/mypy#18103
Follow up to #126352

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... I think @hauntsaninja might be thinking of reversing this deprecation: see python/mypy#18070

@sobolevn
Copy link
Member Author

sobolevn commented Nov 4, 2024

I think that the main plan right now is to add these checks directly to --strict, which is enabled for 3 projects here. In the mean time it will remove the deprecation message and will enable one more check for .update() (not sure that we use it right now though).

Basically, we don't have any noticable negatives.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me!

@sobolevn sobolevn merged commit cc4f0a2 into python:main Jan 25, 2025
43 checks passed
@miss-islington-app
Copy link

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 25, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jan 25, 2025

GH-129286 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jan 25, 2025
@sobolevn sobolevn deleted the issue-109413-2 branch January 25, 2025 09:44
sobolevn added a commit that referenced this pull request Jan 25, 2025
…GH-126391) (#129286)

Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391)
(cherry picked from commit cc4f0a2)

Co-authored-by: sobolevn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants