unused imports are (sometimes) unflagged
还没有人认领这个 Issue。
评估
调研方向
首先,使用仓库的 linting 工具运行最小 Python 复现,并将其行为与 pyflakes issue #137 进行比较。当未使用的 foo.bar import 收到 F401,而已使用的 foo.baz import 不收到时,工作即完成。
由索引模型根据 Issue 内容生成。
描述
Minimum reproduction:
import foo.bar
import foo.baz
print(foo.baz)
foo.bar should get an F401, however, due to pyflakes: #137 Missing import warnings when importing fully-qualified modules
, they are going unflagged.
- 主要语言
- Python
- 星标
- 21
- 派生
- 21
- 平均合并
- 24 天 4 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ni/python-styleguide 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
ni/python-styleguide#319 ·
-
难度 5/5 一周以上 新手友好度 15/100
ni/python-styleguide#241 ·
-
难度 4/5 3-5 天 新手友好度 30/100
ni/python-styleguide#229 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
ni/python-styleguide#228 ·
-
难度 4/5 3-5 天 新手友好度 25/100
ni/python-styleguide#224 ·
查看 ni/python-styleguide 的全部 Issue
相似的 Issue
-
namespace operations
难度 1/5 1 小时以内 新手友好度 72/100
EclipseFdn/open-vsx.org#14043 ·
维护者通常 1 天内回复
-
netbox status: needs triage type: bug
难度 2/5 1-3 小时 新手友好度 76/100
netbox-community/netbox#23376 ·
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 73/100
githubnext/gh-aw-workshop#4455 ·
维护者通常 1 天内回复
-
Triage 🩺
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[BUG] Container scenario crashes without expected_recovery_time, kube DNS example uses retry_wait未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 77/100
krkn-chaos/krkn#1627 · 1 条评论 ·
维护者通常 1 天内回复