-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
handling of exclude
configuration changed in an incompatible way in 0.930
#11830
Comments
cc @nipunn1313 something like #11828 should work for pyproject.toml, but curious for your opinion on what this should look like going forward for ini files |
Great question. I think the safest option is to maintain the old behavior on There is a simple workaround to get access to the new feature - using pyproject.toml instead of mypy.ini. |
I can try to augment #11828 (or provide a PR that depends on it) to restore the old |
Fixes python#11830. Depends on python#11828.
Modifies existing unit tests. Fixes python#11830.
Partially reverts python#11329 (with respect to `.ini` documentation). Modifies existing unit tests. Fixes python#11830.
Partially reverts python#11329 (with respect to `.ini` documentation). Modifies existing unit tests. Fixes python#11830. Co-authored-by: Matthew W <matthew@willcockson.family>
#11825 seems related but slightly different as that one causes a crash -- I believe this was broken in #11329
Bug Report
for example: (this is reduced from a larger example just to demonstrate a minimal example)
To Reproduce
set up a configuration above and run mypy
Expected Behavior
in mypy 0.920 this excluded all
setup.py
filesActual Behavior
this appears to exclude all files:
Your Environment
mypy.ini
(and other config files): (see above)The text was updated successfully, but these errors were encountered: