-
Notifications
You must be signed in to change notification settings - Fork 1
Fix running pytype analysis: Needs Python 3.11 (3.12 not supported yet) #10
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
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 17269878061Details
💛 - Coveralls |
4a6dd96 to
d88ec34
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
fda4822 to
b46f865
Compare
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 fixes pytype analysis by enforcing Python 3.11 requirement and improves error handling. The changes address pytype's lack of support for Python 3.12 by adding version validation and enhancing the CI integration.
- Moves pytype execution from Python 3.12 to Python 3.11 environment in tox configuration
- Adds runtime validation to ensure pytype runs only with the required Python version
- Improves error reporting when pytype fails without producing parseable results
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tox.ini | Moves pytype from py312 to py311 environment to ensure compatibility |
| pytype_runner.py | Adds Python version validation and improves error handling for pytype failures |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
4f70c6f to
a5edf74
Compare
Signed-off-by: Bernhard Kaindl <[email protected]>
a5edf74 to
d2a1e2e
Compare
@copilot check