rules_python
rules_python copied to clipboard
Use alias for `copy_file` in `pip_repository` rules
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature (please, look at the "Scope of the project" section in the README.md file)
- [ ] Code style update (formatting, local variables)
- [x] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
This is a minor cleanup to help users easily identify what rules or macros are actually in use.
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No
Other information
Fine with this, but I think
_copy_file = "copy_file"is the more typical way of accomplishing the same thing?
My goal was to make it obvious that the already loaded copy_file rule was unique to rules_python. If you feel strongly I can rename it but do feel ules_python_ stands out a bit more than _. Just LMK.