aspect-build / aspect-workflows-template

Scaffolding for new Aspect workspace
1 stars 1 forks source link

[FR]: Demonstrate Python type-checking #58

Open alexeagle opened 2 months ago

alexeagle commented 2 months ago

What is the current behavior?

We don't talk about mypy or pyright at all.

Describe the feature

How to integrate mypy? I wrote https://github.com/aspect-build/rules_lint#what-about-type-checking -> https://github.com/bazelbuild/rules_python/issues/296 which is still open. Should users roll our own in the meantime?

Should we recommend pyright (as Aspect has a contract to develop that right now)?