Clean / clear all `__init__.py`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Inspect all __init__.py files, beginning with morphoclass/data/__init__.py, and identify code and __all__ statements in each one. Remove those contents while retaining the license header, module docstring, and optional future import; the work is done when every __init__.py follows that structure and the project still imports successfully.
Written by the indexing model from the issue text.
Description
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)
- Dominant language
- Python
- Stars
- 13
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BlueBrain/morphoclass
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
BlueBrain/morphoclass#87 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
BlueBrain/morphoclass#86 ·
-
"Segmentation fault: 11" error when using pretrained datasetMay be free again @FrancescoCasalegno claimed this 1510 days ago, and no pull request is open. Openbug
BlueBrain/morphoclass#79 · 2 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
BlueBrain/morphoclass#56 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
BlueBrain/morphoclass#48 ·
All issues in BlueBrain/morphoclass
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
TencentCloud/Octop#1577 · 1 comment ·
Maintainers usually reply within 1 day
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
PedestrianDynamics/pyFDS-Evac#552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
resend/resend-skills#144 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 68/100