Skip to content

Conversation

anguslees
Copy link

@anguslees anguslees commented Aug 25, 2025

Some mypy label references are used between repos (main and rules_mypy) so it is important that they are declared relative to the original bzl file correctly. Use Label() at the construction site to do this.

(This is the "correct" fix for needing the full canonical name in string form, so update the advice to use "@@//name" explicitly.)

@anguslees anguslees requested a review from a team as a code owner August 25, 2025 23:25
Some mypy label references are used between repos (main and rules_mypy) so it is important that they are declared relative to the original bzl file correctly.  Use `Label()` at the construction site to do this.

(This is the "correct" fix for needing the full canonical name in string form, so update the advice to use "@@//name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants