compas-dev / compas-dev/compas

Imports in some `__init__.py` files should be made explicit

Open
#1,114 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
386
Forks
122
Avg merge
11d 46m
Merged PRs (30d)
1

Description

_Originally posted by @brgcode in https://github.com/compas-dev/compas/pull/1111#discussion_r1081776686_

The `__all__` attribute in some `__init__.py` files should be populated with items explicitly rather than with iteration on `dir()`.

For example here: https://github.com/compas-dev/compas/blob/b03002c9e55237405d1f4f8119edff13b42afc20/src/compas/geometry/primitives/__init__.py#L20

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.