ty icon indicating copy to clipboard operation
ty copied to clipboard

Bazel rules

Open SamuelMarks opened this issue 1 week ago • 2 comments

Bazel is a popular cross-platform cross-language build system. E.g., at Google it is commonly and publicly known that essentially every [sub]repo in its monorepo has BUILD files for Bazel integration.

ty could easily become the replacement for pytype now that that's deprecated.

To that end, the recommendation is for the creation and maintenance of rules_ty.

FWIW: There is https://github.com/aspect-build/rules_py but it seems to have some weirdness associated requiring a login to their SaaS.

References:

  • https://github.com/bazel-contrib/rules_python
  • https://github.com/bazel-contrib/rules_mypy
  • https://github.com/bazel-contrib/rules_python/issues/296 (call for action now that pytype—Google's oft used solution—is deprecated)

SamuelMarks avatar Dec 19 '25 01:12 SamuelMarks

Thanks for this suggestion.

We don't currently have the capacity or expertise on the team to maintain those rules ourselves. But more than happy to support any work within ty that unblocks a community-driven ty buck rule set.

MichaReiser avatar Dec 19 '25 09:12 MichaReiser

Would you mind elaborating on the Aspect Build SaaS login weirdness you're seeing?

zsol avatar Dec 19 '25 09:12 zsol