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

Fix: Handle Trailing Commas and Empty Strings in File Paths #18472

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

x612skm
Copy link
Contributor

@x612skm x612skm commented Jan 15, 2025

(FYI : Checking tests in the CI, will update the description soon.)
For Now : This PR addresses the issue where trailing commas and empty strings in file paths in mypy configuration files (both INI and TOML formats) were causing incorrect behavior during file processing.

Fixes #11171

Copy link
Contributor

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

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.

mypy.ini parsing trailing comma causes duplicate module error
1 participant