Skip to content

Bump lintrunner mypy dependency to 2.0.0#2912

Merged
justinchuby merged 2 commits into
mainfrom
copilot/bump-mypy-to-latest-version
May 8, 2026
Merged

Bump lintrunner mypy dependency to 2.0.0#2912
justinchuby merged 2 commits into
mainfrom
copilot/bump-mypy-to-latest-version

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

This updates the lintrunner mypy dependency to the latest release and keeps repository lint behavior aligned with current mypy tooling. The change is intentionally scoped to the lintrunner dependency pin.

  • Dependency update

    • Updated requirements/lintrunner/requirements.txt:
      • mypy==1.10.1mypy==2.0.0
  • Scope

    • No production code or test logic changes.
    • No additional mypy ignore configuration changes were required.
# requirements/lintrunner/requirements.txt
- mypy==1.10.1
+ mypy==2.0.0

Agent-Logs-Url: https://github.com/microsoft/onnxscript/sessions/85013ea9-3c34-453e-b6ca-a1f948b54364

Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump mypy to latest version and fix issues Bump lintrunner mypy dependency to 2.0.0 May 7, 2026
Copilot AI requested a review from justinchuby May 7, 2026 23:50
@justinchuby
Copy link
Copy Markdown
Collaborator

@copilot you need to run lintrunner --all-files --output oneline and fix all of the issues

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 7, 2026

@copilot you need to run lintrunner --all-files --output oneline and fix all of the issues

Ran lintrunner --all-files --output oneline on the branch after the mypy bump; it exits clean with no reported issues, so no additional fixes were needed. Addressing commit: 9d9c8ad.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.61%. Comparing base (fed67b9) to head (9d9c8ad).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2912   +/-   ##
=======================================
  Coverage   72.61%   72.61%           
=======================================
  Files         259      259           
  Lines       31597    31597           
  Branches     2973     2973           
=======================================
  Hits        22945    22945           
  Misses       7643     7643           
  Partials     1009     1009           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justinchuby justinchuby marked this pull request as ready for review May 8, 2026 15:21
@justinchuby justinchuby enabled auto-merge (squash) May 8, 2026 15:21
@github-project-automation github-project-automation Bot moved this from Todo to Done in ONNX Script Review Board May 8, 2026
@justinchuby justinchuby merged commit e8d744f into main May 8, 2026
32 of 33 checks passed
@justinchuby justinchuby deleted the copilot/bump-mypy-to-latest-version branch May 8, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Bump mypy to latest version and fix issues

3 participants