Skip to content

Remove some of the Anys from mypy/config_parser.py #19637

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wyattscarpenter
Copy link
Contributor

@wyattscarpenter wyattscarpenter commented Aug 10, 2025

This pull request removes some of the Anys from mypy/config_parser.py, beginning to address #19566 with the easiest wins first. (This PR description subject to change if I get around to removing more Anys. On the other hand, if someone sees this PR and wants to merge it immediately for the easy win, that's a good move. I can PR the more-complicated cases later.)

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@wyattscarpenter wyattscarpenter changed the title Removes some of the Anys from mypy/config_parser.py Remove some of the Anys from mypy/config_parser.py Aug 10, 2025
@wyattscarpenter wyattscarpenter marked this pull request as ready for review August 10, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant