pyscg: Investigate potential new rule based on os.path.commonprefix()
还没有人认领这个 Issue。
评估
调研方向
Read the linked article about os.path.commonprefix() and inspect the repository’s existing rule definitions and tests to see whether they cover this API. The issue does not name any files or specify what the proposed rule should detect; done would require a concrete rule proposal and matching tests. Check the two existing comments for discussion before starting.
由索引模型根据 Issue 内容生成。
描述
Interesting deep-dive into a confusing API has the potential to require a rule to prevent issues:
Deprecate confusing APIs like “os.path.commonprefix()”.
The os.path.commonprefix() function has been an API in the Python
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues...
- 主要语言
- Python
- 星标
- 2
- 派生
- 2
- 平均合并
- 11 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ossf/python-secure-coding-guide 的其他 Issue
-
pyscg-0051 should use a context manager可能已有人在做 @s19110 于 8 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
ossf/python-secure-coding-guide#1 · 4 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 65/100
ossf/python-secure-coding-guide#29 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
查看 ossf/python-secure-coding-guide 的全部 Issue
相似的 Issue
-
documentation type/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"可能已有人在做 @0z5a 今天认领。 未关闭needs-triage
难度 2/5 半天 新手友好度 72/100
维护者通常 2 天内回复
-
trace: Pi's 1-hour cache writes are priced at 1.25x, but billed at 2x可能已有人在做 @Shizoqua 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/TokenEconomizer#221 ·
维护者通常 1 天内回复
-
plot_graph crashes when a mesh node has no m2m edge可能已有人在做 @tygvi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
mllam/neural-lam#883 · 1 条评论 ·
维护者通常 2 天内回复