Skip to content

Make babel_validation a top-level import (drop src. prefix) - #106

Open
gaurav wants to merge 1 commit into
mainfrom
split/2-top-level-package
Open

Make babel_validation a top-level import (drop src. prefix)#106
gaurav wants to merge 1 commit into
mainfrom
split/2-top-level-package

Conversation

@gaurav

@gaurav gaurav commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Changes pyproject.toml to package src/babel_validation directly instead of the entire src/ directory, so babel_validation is a proper top-level package after install
  • Updates all 4 test-file imports from from src.babel_validation.X import Y to from babel_validation.X import Y
  • Updates CLAUDE.md import example to match

The src. prefix in import paths was a layout detail leaking into the namespace. This is the conventional src-layout fix.

Test plan

  • pytest tests/test_environment/ — verifies imports resolve and Google Sheet loads
  • pytest --target dev -x — smoke-test against dev environment

🤖 Generated with Claude Code

Change pyproject.toml to package src/babel_validation directly so
babel_validation is importable as a top-level name after install.
Update all test imports from src.babel_validation.* to babel_validation.*.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Base automatically changed from split/1-library-reorg to main June 26, 2026 18:26
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.

1 participant