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

Print instruction to update configuration #423

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Print instruction to update configuration #423

merged 1 commit into from
Aug 30, 2021

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Aug 30, 2021

This helps users to update their configuration:

[Steep 0.45.0] [Steepfile] [target=app] #typing_options is deprecated and has no effect as of version 0.46.0. Update your Steepfile as follows for (almost) equivalent setting:
[Steep 0.45.0] [Steepfile] [target=app]   # D = Steep::Diagnostic                          # Define a constant to shorten namespace
[Steep 0.45.0] [Steepfile] [target=app]   configure_code_diagnostics(D::Ruby.strict)       # :strict
[Steep 0.45.0] [Steepfile] [target=app]   configure_code_diagnostics do |hash|
[Steep 0.45.0] [Steepfile] [target=app]     hash[D::Ruby::MethodDefinitionMissing] = nil   # allow_missing_definitions
[Steep 0.45.0] [Steepfile] [target=app]     hash[D::Ruby::FallbackAny] = nil               # allow_fallback_any
[Steep 0.45.0] [Steepfile] [target=app]   end

@soutaro soutaro merged commit de906fc into master Aug 30, 2021
@soutaro soutaro deleted the typing-options branch August 30, 2021 12:16
@soutaro soutaro linked an issue Aug 31, 2021 that may be closed by this pull request
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.

Diagnostics error level configuration
1 participant