bazel-contrib / bazel-contrib/rules_python
[gazelle] Support -index=lazy
未关闭
gazelle
- 主要语言
- Starlark
- 星标
- 688
- 派生
- 721
- 平均合并
- 15 小时 7 分钟
- 30 天内合并 PR
- 76
描述
Gazelle supports `-index=lazy` to speed up indexing directories. This currently fails on Python with a bunch of errors like
```
my_project/foo/bar.py: "foo.other.baz" is an invalid dependency
```
Perhaps a `gazelle:py_search` directive is needed?
贡献指南
调研方向
使用 Python 和 `-index=lazy` 在 Gazelle 中重现该失败,重点关注报告的无效依赖错误,例如 `foo.other.baz`。调查是否需要 `gazelle:py_search` 指令;当 Python 的延迟索引在没有这些依赖错误的情况下正常工作时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100