Marti Raudsepp
Marti Raudsepp
I'm also having this issue. ~~I noticed that this error occurs when using `--follow-imports=silent`, but it disappears if I use `--follow-imports=normal`.~~ **Edit:** I was wrong, the effect is only temporary....
This error message is verbatim from mypy. Previous plugin versions simply ignored these errors, but they are reported since 0.14.0. See https://github.com/python/mypy/issues/8400 https://github.com/python/mypy/issues/10515, looks like you need to change `__init__.py`...
Did this solve the problem you had? It's possible that the real issue you are having is #95. I haven't yet looked into it in depth though.
Up to plugin version 0.12.1, in situations where mypy exits abnormally (some configuration issues, internal errors, etc), the mypy plugin shows no indication that there was a problem. I have...
@chudomozg Update to latest plugin version 0.14.0 and try again. It should pop up an error message explaining what went wrong.
> I am using mypy from a different venv than the one I run my code with. Yep, sorry, this is a use case that is not supported by the...
Sorry, mypy plugin code is entirely foreign to me and I don't have time right now to delve into it.
I notice that Kurnikov has also made releases in the past. Since Sobolev is busy, any chance @mkurnikov you have time to make a release? This is holding up mypy...
The latest discussion about release schedule has been in #1095, I'm closing this duplicate.
Here's a testable example exhibiting the behavior: ```python from rest_framework import serializers from django.contrib.auth.models import User, Group class TestSerializer(serializers.ModelSerializer): username = serializers.CharField(max_length=150) group_ids = serializers.PrimaryKeyRelatedField(many=True, source="groups", read_only=True) group_names = serializers.SlugRelatedField(many=True,...