Move most things out of `__init__.py` files
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
It's not wrong, but it's generally undesired.
Ref: https://docs.astral.sh/ruff/rules/non-empty-init-module/
Contributor 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.
Research direction
Inspect the repository's Python init.py files and identify which contents can be moved while preserving package imports. Use the Ruff non-empty-init-module reference as guidance, then run the project's available checks to confirm the package still works after the reorganization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100