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
In my case I have a function which retrieves the args dict for many classes and will give an empty dict when there are no arguments required. Mypy still complains though since it assumes the dict is not empty.
Using mypy==0.782 and 3.7.4 with no mypy flags.
A similar issue was resolved here but seems to have only solved for list or tuple unpacking.
The text was updated successfully, but these errors were encountered:
Mypy seems to treat keyword argument unpacking as containing at least one element. For example:
In my case I have a function which retrieves the args dict for many classes and will give an empty dict when there are no arguments required. Mypy still complains though since it assumes the dict is not empty.
Using mypy==0.782 and 3.7.4 with no mypy flags.
A similar issue was resolved here but seems to have only solved for list or tuple unpacking.
The text was updated successfully, but these errors were encountered: