bazel-contrib / bazel-contrib/rules_python

(gazelle) Delete py_library and py_test targets with missing srcs

Abierto
#3,375 0 comentarios 0 reacciones 0 asignados Ver en GitHub
gazelle
Lenguaje dominante
Starlark
Estrellas
688
Forks
721
Merge medio
15 h 7 min
PR fusionados (30 d)
76

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.