Skip to content

chore: remove unnecessary empty __init__.py files - #158

Open
Nortaq-PlayNexus wants to merge 1 commit into
nkantar:mainfrom
Nortaq-PlayNexus:chore/cleanup-empty-init-files
Open

Nortaq-PlayNexus wants to merge 1 commit into
nkantar:mainfrom
Nortaq-PlayNexus:chore/cleanup-empty-init-files

Conversation

@Nortaq-PlayNexus

Copy link
Copy Markdown

Fixes #89. Removed 1 unnecessary empty init.py file: starminder/implementations/tests/init.py.

Kept required package init.py files for the Django project and app packages (starminder/, starminder/core/, starminder/content/, starminder/implementations/), their migrations and management/commands packages, and starminder/content/tests/init.py (required because both starminder/core/tests/test_views.py and starminder/content/tests/test_views.py would otherwise collide under pytest's default import mode). starminder/core/tests/ has no init.py already.

Verified with: python -m compileall, pytest (185 passed), python manage.py check (0 issues), ruff check.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up unnecessary __init__.py files

1 participant