BlueBrain / BlueBrain/morphoclass

Clean / clear all `__init__.py`

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

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` (since `isort` is configured to automatically add this line to all `.py`-files)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.