bazel-contrib / bazel-contrib/rules_python
python gazelle: ignore "binaries" when generating py_librarys
- Vorherrschende Sprache
- Starlark
- Sterne
- 688
- Forks
- 721
- Ø Merge
- 15 Std. 7 Min.
- Gemergte PRs (30 T.)
- 76
Beschreibung
# 🚀 feature request
### Relevant Rules
- rules_python
### Description
A clear and concise description of the problem or missing capability...
Add a config for python gazelle module to ignore "binary" files from the`srcs` of the `py_library` generated code.
By "binary" file I mean the logic that gazelle uses to define what src is used by a generated `py_binary`
### Describe the solution you'd like
If you have a solution in mind, please describe it.
### Describe alternatives you've considered
Have you considered any alternative solutions or workarounds?
Beitragsleitfaden
Rechercherichtung
Start by locating the Python Gazelle module and the logic that determines sources for generated py_binary and py_library targets. Define the requested configuration's behavior for binary files and verify that generated py_library srcs omit them while py_binary source detection remains unchanged.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100