-
-
Notifications
You must be signed in to change notification settings - Fork 672
Open
Labels
Description
🚀 feature request
Relevant Rules
Gazelle Plugin
Description
There are two issues I'm running into:
- Some of my binaries need to use
py_imagerather thanpy_binarybut gazelle can't manage deps forpy_image. - I have a custom macro called
pytest_testthat I use for my tests that use pytest but Gazelle generates apy_testtarget for those files. I have to manually ignore all of those files and then manually manage the target since thepy_testrule can properly run them.
Describe the solution you'd like
It would be great if there was a Gazelle annotation where, for the current scope, Gazelle could be configured to use a different rule for particular target types.
Describe alternatives you've considered
The only workaround I know of is to instruct Gazelle to ignore the files and then manage the build targets manually.
Reactions are currently unavailable