-
Notifications
You must be signed in to change notification settings - Fork 0
v0.0.2 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.0.2 #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive test coverage for the GitHub auto-assign action's main module and improves logging for PR reviewer assignment. The tests use a functional programming style with fake implementations to avoid external dependencies.
- Implements a complete test suite with 13 test cases covering the main module's functionality
- Enhances logging to provide more detailed information about PR author and reviewer filtering
- Updates mypy configuration to ignore errors in test files and adds coverage documentation
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_main.py | Replaced minimal placeholder with comprehensive functional-style test suite using fake GitHub API implementations |
| src/main.py | Added debug logging for PR author and improved error message when all reviewers match the PR author |
| mypy.ini | Configured mypy to ignore type errors in test files |
| README.md | Added pytest coverage commands to documentation |
| .pre-commit-config.yaml | Added commented-out mypy exclude option for tests directory |
| .github/workflows/github-auto-assign.yml | Added 'copilot' to the reviewers list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
KPbICO6Ou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
No description provided.