Include current django-stubs
version in reporting of config data
#2338
Labels
bug
Something isn't working
django-stubs
version in reporting of config data
#2338
I'm not 100% sure but I think that if you change version of
django-stubs
but keep the same version ofmypy
after a cached run,mypy
reuses the cache and there could possibly be crashes or all sorts of, strange, errors emitted for the second run.But if we're able to include the current
django-stubs
version when we report config data indjango-stubs/mypy_django_plugin/main.py
Lines 307 to 314 in f04323a
We should get "automatic" cache tainting whenever switching between
django-stubs
versions.I must admit that I haven't gotten around to try out if this is indeed a problem, it's just a suspicion so far. Gonna have to see if I can find 2
django-stubs
versions and a snippet of code that backs up my suspicion here. Think I've recently run in to this in one of the projects I'm working on though.What's wrong
How is that should be
System information
python
version:django
version:mypy
version:django-stubs
version:django-stubs-ext
version:The text was updated successfully, but these errors were encountered: