Update ty dependency and configure type checking overrides#1418
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
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.overridesto ignore selecttyrules for test and example files. - Bumped
tyfrom0.0.24to0.0.25in thedevdependency group.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request updates development tooling configurations in
pyproject.toml, mainly to improve type checking flexibility in test and example files and to upgrade thetydependency.Tooling configuration updates:
tool.ty.overridessection 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:
typackage from version0.0.24to0.0.25to ensure compatibility and access to the latest features and fixes.