Skip to content

Update ty dependency and configure type checking overrides#1418

Merged
liudger merged 1 commit intomainfrom
fix-typechecking-with-ty-0.0.25
Mar 25, 2026
Merged

Update ty dependency and configure type checking overrides#1418
liudger merged 1 commit intomainfrom
fix-typechecking-with-ty-0.0.25

Conversation

@liudger
Copy link
Copy Markdown
Owner

@liudger liudger commented Mar 25, 2026

This pull request updates development tooling configurations in pyproject.toml, mainly to improve type checking flexibility in test and example files and to upgrade the ty dependency.

Tooling configuration updates:

  • Added a tool.ty.overrides section to ignore specific type checking rules (invalid-assignment, invalid-argument-type, unresolved-attribute) in test and example files, reducing unnecessary type errors in these contexts.

Dependency updates:

  • Upgraded the ty package from version 0.0.24 to 0.0.25 to ensure compatibility and access to the latest features and fixes.

Copilot AI review requested due to automatic review settings March 25, 2026 11:45
@liudger liudger added maintenance Generic maintenance tasks. ci Work that improves the continue integration. labels Mar 25, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.89%. Comparing base (5eec464) to head (8401a47).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1418   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files           6        6           
  Lines         986      986           
  Branches      139      139           
=======================================
  Hits          985      985           
  Partials        1        1           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a 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 updates the project’s development tooling configuration by upgrading the ty type-checker dependency and adding ty rule overrides to reduce noisy type-checking failures in tests/ and examples/.

Changes:

  • Added tool.ty.overrides to ignore select ty rules for test and example files.
  • Bumped ty from 0.0.24 to 0.0.25 in the dev dependency group.

@sonarqubecloud
Copy link
Copy Markdown

@liudger liudger merged commit 0bb9a7c into main Mar 25, 2026
20 checks passed
@liudger liudger deleted the fix-typechecking-with-ty-0.0.25 branch March 25, 2026 11:47
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Work that improves the continue integration. maintenance Generic maintenance tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants