rules_py icon indicating copy to clipboard operation
rules_py copied to clipboard

Mypy

Open alexeagle opened this issue 2 years ago • 3 comments

Type of change

  • New feature or functionality (change which adds functionality)

For changes visible to end-users

  • Relevant documentation has been updated

Test plan

  • New test cases added

alexeagle avatar Dec 22 '23 00:12 alexeagle

It would be really nice to have this feature, so that people can easily adopt mypy for python projects built with recent versions of bazel :)

I am relatively new to bazel, but I would be happy to contribute to this feature. Is there anything I can do to make progress on merging it?

tymur-l avatar Feb 19 '24 22:02 tymur-l

Hi @Sitiritis - thanks for asking, the likely course right now is to fix up https://github.com/bazel-contrib/bazel-mypy-integration since there's an enthusiastic contributor helping out there now. I'll have to figure out whether the rules_py virtualenv setup is related to running mypy, but for now it will just work with rules_python.

alexeagle avatar Feb 19 '24 22:02 alexeagle

Hi @Sitiritis - thanks for asking, the likely course right now is to fix up https://github.com/bazel-contrib/bazel-mypy-integration since there's an enthusiastic contributor helping out there now. I'll have to figure out whether the rules_py virtualenv setup is related to running mypy, but for now it will just work with rules_python.

@alexeagle, thank you for the response, sounds great!

tymur-l avatar Feb 19 '24 22:02 tymur-l