chore: bump ruff to ~=0.15.15 and ty to ~=0.0.40#1636
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1636 +/- ##
==========================================
+ Coverage 79.06% 79.10% +0.03%
==========================================
Files 231 231
Lines 15667 15718 +51
==========================================
+ Hits 12387 12433 +46
- Misses 3280 3285 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Update the lint and type dev tooling to their latest patch/dev releases so local checks and CI run against current ruff/ty behavior. uv.lock regenerated to resolve ruff 0.15.15 and ty 0.0.40. The stricter ty 0.0.40 surfaced four latent type issues; fix them so `make types` stays green: - gooddata-pandas series.py: isinstance(granularity, list) narrows the bare list to list[object], making the dict comprehension dict[str, object]; cast back to list[LabelItemDef] to keep the element type. - gooddata-sdk filter.py: explicitly annotate the three _empty_value_handling attributes as EmptyValueHandling | None so the property return type matches (ty widened the narrowed value to str). - gooddata-sdk dataset.py: drop the now-redundant cast in find_label; ty narrows next(filter(...), None) correctly without it. - gooddata-pipelines logger.py: SingletonMeta.__call__ returned "SingletonMeta", typing every LogObserver() as the metaclass; make it generic (cls: type[_T]) -> _T and use type.__call__(cls, ...). jira: trivial risk: nonprod
d056c0e to
f9639cb
Compare
no23reason
approved these changes
Jun 1, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Bumps the lint and type-check dev tooling to current releases:
ruff~=0.15.1→~=0.15.15ty~=0.0.14→~=0.0.40Updates
pyproject.tomland regeneratesuv.lock(resolves ruff 0.15.15 and ty 0.0.40) so local checks and CI run against current ruff/ty behavior.jira: trivial
risk: nonprod