[ty] Refactor relation.rs to store state on a struct rather than passing around 7 arguments every time we recurse by AlexWaygood · Pull Request #23837 · astral-sh/ruff (original) (raw)
added internal
An internal refactor or improvement
Multi-file analysis & type inference
labels
carljm removed their request for review
…ssing around 7 arguments every time we recurse
carljm added a commit that referenced this pull request
- main: (94 commits)
Fix shell injection via
shell=Truein subprocess calls (#23894) [ty] Refactorrelation.rsto store state on a struct rather than passing around 7 arguments every time we recurse (#23837) Don't return code actions for non-Python documents (#23905) [ty] Make the default database truly statically infallible (#23929) [ty] AddDownloadbutton to ty playground which creates a zip export (#23478) [ty] Respectkw_onlyoverwrites in dataclasses (#23930) [ty] Clarify in diagnostics thatfrom __future__ import annotationsonly stringifies type annotations (#23928) [ty] Add aCopy Markdownbutton to playground (#23002) [ty] Fix folding range classification of lines starting with#(#23831) [ty] Fix folding ranges for notebooks (#23830) [ty] fix too-many-cycle panics when inferring literal type loop variables (#23875) AddRegularCallableTypeOfandinto_regular_callableinty_extensions(#23909) [ty] treat properties as full structural types (#23925) [ty] Avoid duplicated work during multi-inference (#23923) [ty]: makepossibly-missing-attributeignored by default [ty]: split outpossibly-missing-submodulefrompossibly-missing-attributeUpdate astral-sh/setup-uv action to v7.5.0 (#23922) [ty] Show truthiness in ConstraintSet display and simplify falsy error message (#23913) Bump 0.15.6 (#23919) [ty] Narrow type context during collection literal inference (#23844) ...
carljm added a commit that referenced this pull request
- main: (131 commits)
[ty] Fixup examples in
invalid-keydocs (#23968) [ty] Fix compiler warning about unused variable (#23967) [ty] Sync vendored typeshed stubs (#23963) Add a.git-blame-ignore-revsfile (#23959) Revert "[ty] Completely remove theNoReturnshortcut optimization" (#23955) [ty] Completely remove theNoReturnshortcut optimization (#23378) [ty] Introduce fast path for protocol non-assignability (#23952) Bump typing conformance suite SHA (#23951) Minor followup to severity display - use preview function in server instead of checking preview disabled directly (#23950) Document editor features for markdown code formatting (#23924) [ty] Addwith_recursion_guard()helpers torelation.rs(#23945) [ty] Removecheck_optional_method_pairmethods (#23947) [ty] Remove unusedCycleDetector::try_visitmethod (#23944) [ty] Ensure TypedDict subscripts for unknown keys return Unknown (#23926) [ty] Fix variance of frozen dataclass-transform models (#23931) Display output severity in preview (#23845) Revert "[ruff] usebitcodeinstead ofbincode" (#23935) Fix shell injection viashell=Truein subprocess calls (#23894) [ty] Refactorrelation.rsto store state on a struct rather than passing around 7 arguments every time we recurse (#23837) Don't return code actions for non-Python documents (#23905) ...
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
[ Show hidden characters]({{ revealButtonHref }})