Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump nuget files type strictness #8468

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Bump nuget files type strictness #8468

merged 1 commit into from
Nov 27, 2023

Conversation

JamieMagee
Copy link
Contributor

This change bumps the type strictness for the files added in #8179. That PR was started before Sorbet was added to the codebase, so it's expected that they started as #typed: false.

The bump was performed automatically with bundle exec spoom bump --from=false --to=true nuget.

@JamieMagee JamieMagee requested a review from a team as a code owner November 27, 2023 17:24
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Nov 27, 2023
@deivid-rodriguez
Copy link
Contributor

Oh, nice catch @JamieMagee, thanks!

@deivid-rodriguez
Copy link
Contributor

Should we be detecting this automatically before merge?

@jurre
Copy link
Member

jurre commented Nov 27, 2023

bundle exec spoom bump --from=false --to=true

Yeah maybe we can run bundle exec spoom bump --from=false --to=true and assert it outputs nothing in CI?

@JamieMagee
Copy link
Contributor Author

JamieMagee commented Nov 27, 2023

Should we be detecting this automatically before merge?

It might be possible if you were to run spoom bump as part of CI and exit if there are any files listed?

EDIT: Jurre beat me to it 😅

@JamieMagee JamieMagee merged commit abfcdcf into main Nov 27, 2023
81 checks passed
@JamieMagee JamieMagee deleted the jamiemagee/type-nuget branch November 27, 2023 17:30
@jurre
Copy link
Member

jurre commented Nov 27, 2023

Should we be detecting this automatically before merge?

It might be possible if you were to run spoom bump as part of CI and exit if there are any files listed?

JINX

@JamieMagee JamieMagee added the sorbet 🍦 Relates to Sorbet types label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet sorbet 🍦 Relates to Sorbet types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants