Clean / clear all `__init__.py`
还没有人认领这个 Issue。
评估
调研方向
检查所有 __init__.py 文件,从 morphoclass/data/__init__.py 开始,并识别每个文件中的代码和 __all__ 语句。删除这些内容,同时保留许可证头、模块 docstring 和可选的 future import;当每个 __init__.py 都遵循该结构且项目仍能成功导入时,工作即完成。
由索引模型根据 Issue 内容生成。
描述
It would be good to remove all code from all __init__.py files, in particular also all __all__ statements. See for example morphoclass/data/__init__.py. This will speed up imports since unused submodule imports will no longer be done, and will also render the code structure more simple and transparent.
Ideally all __init__.py should have at most these 3 elements:
- License notice header
- Module docstring
from __future__ import annotations(sinceisortis configured to automatically add this line to all.py-files)
- 主要语言
- Python
- 星标
- 13
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BlueBrain/morphoclass 的其他 Issue
-
Create a `predict` command in the CLI可能已有人在做 @EmilieDel 于 1306 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
BlueBrain/morphoclass#87 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
BlueBrain/morphoclass#86 ·
-
"Segmentation fault: 11" error when using pretrained dataset可能重新可做 @FrancescoCasalegno 于 1532 天前认领,目前没有进行中的 PR。 未关闭bug
BlueBrain/morphoclass#79 · 2 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 42/100
BlueBrain/morphoclass#56 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
BlueBrain/morphoclass#48 ·
查看 BlueBrain/morphoclass 的全部 Issue
相似的 Issue
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog check可能已有人在做 @ocelotl 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
open-telemetry/opentelemetry-python#5825 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
cuga-project/cuga-agent#1020 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
microsoft/playwright#43640 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
stac-utils/stac-fastapi-elasticsearch-opensearch#965 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复