You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, mypy doesn't print the location of the config file it uses, or the locations where it tries to find a config file, so no more details on the problem is available.
Expected Behavior
As stated in the documentation: https://mypy.readthedocs.io/en/stable/config_file.html ~/.mypy.ini should be used if --config-file is not specified and other preferred config file locations do not exist, which it true in my case.
So I would expect the exact same behavior if --config-file ~/.mypy.ini is specified and if --config-file is not specified at all.
Yes, user-level config file discovery was broken in 1.15.0, fixed in #18656 approx. a week after release. I confirmed that global config doesn't work in 1.15.0 and works on current master.
Activity
sterliakov commentedon Apr 27, 2025
Yes, user-level config file discovery was broken in 1.15.0, fixed in #18656 approx. a week after release. I confirmed that global config doesn't work in 1.15.0 and works on current master.