bazel-contrib / bazel-contrib/rules_python
(gazelle) Delete py_library and py_test targets with missing srcs
Offen
gazelle
- Vorherrschende Sprache
- Starlark
- Sterne
- 688
- Forks
- 721
- Ø Merge
- 15 Std. 7 Min.
- Gemergte PRs (30 T.)
- 76
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100