fix: ensure pytest imports from local src/#442
Conversation
Add pythonpath = ["src"] to pytest config so tests always resolve imports from the local source tree. Without this, contributors who have agentready installed globally or in another clone will silently run tests against the wrong copy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds a single pytest configuration line to resolve imports from the ChangesPytest Configuration
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📈 Test Coverage Report
Coverage calculated from unit tests only |
Summary
pythonpath = ["src"]to[tool.pytest.ini_options]inpyproject.tomlOne-line change, zero impact on contributor workflow.
This PR was created by Bill Murdock with assistance from Claude Code.
🤖 Generated with Claude Code
Summary by CodeRabbit