-
Hi, I'm trying to make the ability to deal with #1684 in a way that doesn't cause other problems. I technically have a proof of concept, but I want to work on it a lot more before I bring it up as any kind of solution. My problem at the moment though is I want to be able to run this code in our existing project before we update django-stubs (we're on an old version of django-stubs/mypy in a mammoth codebase and upgrading is difficult) and so I'm developing it here https://github.com/delfick/extended-mypy-django-plugin as it's own separate thing that uses django-stubs as a base while I get it to not be awful. My problem today is I'm trying to make it use pytest-mypy-plugins but I get this output
I'm wondering if there's anything obvious that I'm not doing in that repository that will make it work, or if there's some reason that it can't be made to work? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This works for us: django-stubs/.github/workflows/test.yml Lines 64 to 71 in 3f9b3c8 |
Beta Was this translation helpful? Give feedback.
I had played with this to no effect.
The good news is a break from the computer has given me relatively fresh eyes and the problem is actually that your mypy.ini has
ignore_missing_imports = true
and mine did not. Adding that makes those go away. thanks :)