Add code quality checks such as ruff, pyright, pylint, mypy
还没有人认领这个 Issue。
评估
调研方向
首先检查 Python 代码以及提交 f855c89d22fe25b9540652f6654ddbf9920c15b6 中演示的错误,然后比较所提议的工具,以及它们如何在项目中运行。选定的语法和质量检查完成配置、当前错误得到处理,并且在检查已准备好使用时添加 pre-commit hook,即表示完成。
由索引模型根据 Issue 内容生成。
描述
There are currently no checks for syntax or coding errors, and some errors have gone unnoticed.
For example the following error has been in the code for a couple of years:
https://github.com/apache/infrastructure-asfquart/commit/f855c89d22fe25b9540652f6654ddbf9920c15b6
This was discovered by use of such a tool.
Potentially even add checks as a pre-commit hook once the code has been fully checked and updated.
- 主要语言
- Python
- 星标
- 7
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/infrastructure-asfquart 的其他 Issue
-
bug priority
难度 2/5 1-3 小时 新手友好度 72/100
-
Document external service endpoints and failure behavior可能已有人在做 @AnKiT-GaRG2 于 2 天前认领。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 68/100
-
Document OAuth callback consistency rules可能已有人在做 @Marrshal15 于 20 天前认领。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 74/100
apache/infrastructure-asfquart#126 · 1 条评论 ·
-
ASVS priority
难度 2/5 1-3 小时 新手友好度 70/100
apache/infrastructure-asfquart#85 · 1 条评论 ·
-
Triage and track asfquart issues可能已有人在做 @sbp 于 19 天前认领。 未关闭
apache/infrastructure-asfquart#134 · 已指派 1 人 ·
查看 apache/infrastructure-asfquart 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
conda-forge/conda-forge-bot#7025 ·
维护者通常 1 天内回复
-
area:ci
难度 1/5 1 小时以内 新手友好度 74/100
catincloud-labs/dagster-dex#149 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
home-assistant/core#188424 ·
维护者通常 1 天内回复
-
Review backlog (docs-currency): README 'CI run' link lands on a run whose overall badge is cancelled未关闭agent/reviewer needs-kind needs-triage
难度 2/5 1-3 小时 新手友好度 63/100
projectbluefin/utah#880 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
redis/memtier_benchmark#850 ·
维护者通常 1 天内回复