Conversation
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Yes, so we can see in its I'm not totally familiar with how mypy_primer handles mypy plugins, and I'm not sure if it's possible to specify mypy plugins without a mypy config file (so specifying
You can see the mypy_primer/mypy_primer/projects.py Lines 933 to 948 in ebaa9fd |
hauntsaninja
left a comment
There was a problem hiding this comment.
Alex is right, but if I remember correctly even after the --install-types --non-interactive issue there was something fiddly with this plugin, so I'm happy to take this PR as is (it preserves the TODO at the top, which is good).
If strawberry is providing useful coverage for knot, it will also provide useful coverage for mypy without plugins
When working on
@dataclass_transformsupport, I found it helpful to test onstrawberry, as it makes heavy use of the feature.The
projects.pyfile has a comment on top ("repos with plugins") which listsstrawberry. I'm not sure if that entry implies anything regarding using it as a project. But I had to set--config-file=for mypy (as was done for some other projects), because of some errors when trying to run withstrawberry'smypy.ini(related to--install-typesand--non-interactive).I tested using mypy, pyright, and Red Knot.