bazel-contrib / bazel-contrib/rules_python
python gazelle: ignore "binaries" when generating py_librarys
- Lingua principale
- Starlark
- Stelle
- 688
- Fork
- 721
- Merge medio
- 15h 7m
- PR unite (30g)
- 76
Descrizione
# 🚀 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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100