-
Notifications
You must be signed in to change notification settings - Fork 334
Update Python version to 3.10 for mypy and pylint #9468
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: main
Are you sure you want to change the base?
Conversation
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
| "reportTypeCommentUsage": true, | ||
| "reportMissingImports": false, | ||
| "pythonVersion": "3.9" | ||
| "pythonVersion": "3.10" |
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.
@copilot can we just update to 3.10 for mypy and pylint
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.
Done. Reverted all changes except mypy.ini and pylintrc to only update those two configs to Python 3.10. See commit 1171b88.
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.
@copilot and run_pylint is using 3.10?
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.
Yes, updated run_pylint.py to use --py-version=3.10 to match the pylintrc config. See commit 5b5771f.
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
|
@copilot document changes with chronus and add that file to the pr |
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Updates Python version from 3.9 to 3.10 in mypy and pylint configuration files.
Configuration Files Updated
eng/scripts/ci/mypy.ini- Updatedpython_version = 3.10eng/scripts/ci/pylintrc- Updatedpy-version=3.10eng/scripts/ci/run_pylint.py- Updated--py-version=3.10Change Documentation
.chronus/changes/copilot-update-python-version-2026-01-26-23-26-55.md- Added chronus change file documenting the internal configuration updatesThis is a minimal change that only updates the type checker and linter configuration files to target Python 3.10.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.