Skip to content

Conversation

@apiology
Copy link
Contributor

@apiology apiology commented Sep 21, 2025

Default values don't exist in RBS; it just tells you if the arg is optional or not - this created a problem in solargraph-rails specs while assertions were on, as we asserted that the default value was the same between the two pins being merged.

Blocks iftheshoefritz/solargraph-rails#173

apiology and others added 30 commits August 30, 2025 09:06
To avoid merge conflicts and contributors having to deal with
non-intuitive RuboCop todo changes:

* Lock down development versions of RuboCop and plugins so that
  unrelated PRs aren't affected by newly implemented RuboCop rules.
* Exclude rule entirely if more than 5 files violate it today, so that
  PRs are less likely to cause todo file changes unless they are
  specifically targeted at cleanup.
* Clarify guidance on RuboCop todo file in CI error message.
* Fix to hopefully ensure guidance always appears in CI error message.
Default values don't exist in RBS; it just tells you if the arg is
optinal or not - this was a problem in solargraph-rails specs while
assertions were on.
@apiology apiology changed the title Less-rigorous assertions merging assignment attribute of parameters Less-rigorous assertions merging assignment attribute of parameter pins Sep 21, 2025
@apiology apiology marked this pull request as draft September 21, 2025 21:49
@apiology apiology marked this pull request as ready for review September 22, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants