Skip to content

[3.12] gh-109413: libregrtest: enable mypy's --strict-optional check on most files (#112586) #112602

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

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Dec 1, 2023

(cherry-picked from commit 70a38ff )

Note: I'm deliberately backporting the entire mypy config file to the 3.12 branch, even though we don't run mypy on libregrtest on the 3.12 branch. Having the config file exist on this branch will make future backports easier, even if the file is never actually used on this branch.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexWaygood AlexWaygood merged commit 36dbebe into python:3.12 Dec 1, 2023
@AlexWaygood AlexWaygood deleted the backport-112586-312 branch December 1, 2023 17:13
@miss-islington-app
Copy link

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

@bedevere-app
Copy link

bedevere-app bot commented Dec 1, 2023

GH-112603 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 1, 2023
…` check on most files (pythonGH-112586) (pythonGH-112602)

pythongh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (pythonGH-112586)

(cherry picked from commit 36dbebe)

Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Dec 1, 2023
AlexWaygood added a commit that referenced this pull request Dec 1, 2023
…l` check on most files (GH-112586) (GH-112602) (#112603)

[3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602)

gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586)

(cherry picked from commit 36dbebe)

Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Victor Stinner <[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