Open browniebroke opened 1 year ago
I've reproduced the problem in a minimal project. Last mypy check before adding the library worked, and it failed after adding it.
FYI, it might be a bug in django-stubs: https://github.com/typeddjango/django-stubs/issues/1023
I'm using
mypy
anddjango-stubs
to do type checking in my projects and I noticed that as I soon as I add aTranslationField
on a model, I get an error from mypy:I'm not sure yet if it's a problem with this library, mypy of django-stubs. Does this problem ring a bell? I'll try to put together a minimal project that reproduces the issue.