bazel-contrib / bazel-contrib/rules_python

(gazelle) Delete py_library and py_test targets with missing srcs

Aperta
#3,375 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
gazelle
Lingua principale
Starlark
Stelle
688
Fork
721
Merge medio
15h 7m
PR unite (30g)
76

Descrizione

Followup to https://github.com/bazel-contrib/rules_python/pull/3046#issuecomment-3094797158.

We've merged #3046 which will delete `py_binary` targets with missing srcs - let's now expand that to include `py_library` and `py_test` targets.

@yushan26 did you want to take this on?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the implementation and tests from pull request #3046, which added deletion for py_binary targets with missing srcs. Extend the same behavior to py_library and py_test targets, then run the related Gazelle tests and confirm those targets are deleted when their srcs are missing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
build-system
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.