-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Labels
bugmypy got something wrongmypy got something wrongtopic-configurationConfiguration files and flagsConfiguration files and flagstopic-pluginsThe plugin API and ideas for new pluginsThe plugin API and ideas for new plugins
Description
It seems like errors registered in plugins are unignoreable by mypy, as in the following case from the django-stubs plugin for mypy for analyzing django code: typeddjango/django-stubs#993.
We have some custom error codes declared like this:
and presumably mypy checks the list of errors here:
Line 992 in 2004ae0
valid_error_codes = set(error_codes.keys()) |
Any suggestions for workarounds or fixes?
jose-reveni, hwalinga, mikaraunio, alexandrukis, strokirk and 14 more
Metadata
Metadata
Assignees
Labels
bugmypy got something wrongmypy got something wrongtopic-configurationConfiguration files and flagsConfiguration files and flagstopic-pluginsThe plugin API and ideas for new pluginsThe plugin API and ideas for new plugins