-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
sorbet: Migrate dev-cmd
files from typed: true
to typed: strict
#17606
Conversation
b56bbce
to
9130dd1
Compare
Yes.
I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work so far @issyl0! May be worth splitting this up even smaller to make review easier but don't feel strongly either way.
Yeah, coming back to this is why it's still draft! |
b996d09
to
f0dc7e6
Compare
f0dc7e6
to
3d09094
Compare
84e4ece
to
8865cd6
Compare
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
8865cd6
to
9baf50a
Compare
Alright, there's many fewer |
- Otherwise we get: `uninitialized constant String::Formula (NameError)```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @issyl0, great work!
Think it'd be good to get rid of some of the T.nilable
and T.untyped
when possible later but: this is better than the status quo for sure. There's also some returns(NilClass)
that should probably be void
. All this can be done in follow-ups. Thanks again!
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?typed: strict
in all (non-package) files in Homebrew organisation #17297.Draft because I'm not quite done yet (dev-cmd/bottle
is being annoyingly fiddly) and I need to do a self-review of this PR to catch any little things I missed.There's lots ofT.must
here. I could probably do better with returning early or otherwise handlingnil
s.T.untyped
that I could think more about?Some of them are auto-fixed signatures that I need to go and tighten up.