Remove `__init__.py` files from test directory

Open Beginner friendly
#1,742 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
testing

Research direction

Inspect test/grid/ and its subdirectories for the init.py files described in the issue. Remove those files and run the test suite to confirm that the test directory continues to work without them.

Written by the indexing model from the issue text.

Description

developer experience

There are a few __init__.py files within the test/ directory, specifically inside test/grid/ and subdirectories. The other subdirectories of test/ do not include any __init__.py files. I believe there is no reason for these to exist here; my understanding is that including __init__.py signals that a directory is intended to be treated as a package or subpackage, which is not the case here.

These should be removed, to avoid any confusion about whether the relevant directories were intended to be treated as subpackages.

Dominant language
Python
Stars
228
Forks
55
Avg merge
5d 1h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UXARRAY/uxarray

All issues in UXARRAY/uxarray

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.