python / python/typeshed

Don't run pyright basic checks on projects with strict pyright settings in CI

未关闭 适合新手
#16,005 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

project: infrastructure
主要语言
Python
星标
5.1k
派生
2.1k
平均合并
1 天 19 小时
30 天内合并 PR
82

描述

Relevant CI configuration: https://github.com/python/typeshed/blob/67895308f89221c97c67c13845b96d65d725750c/.github/workflows/tests.yml#L126-L140

This could lead to a deadlock situation with Schrodinger's pyright: ignore comments that are only relevant to the strict run but throw error: Unnecessary "# pyright: ignore" in the basic checks run. See recent CI runs in #16004 for an example.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 .github/workflows/tests.yml 的第 126-140 行开始,检查 issue #16004 中引用的近期 CI 运行记录。追踪具有严格 pyright 设置的项目是如何被选中进行基本检查的。当严格项目在基本运行期间不再产生不必要的 pyright-ignore 错误,同时预期的 CI 检查仍得到覆盖时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, python
领域
ci-cd
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。