bazel-contrib / bazel-contrib/rules_python

(gazelle) Delete py_library and py_test targets with missing srcs

オープン
#3,375 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
gazelle
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。