Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Bump rubocop version to 1.48.1.#500

Merged
igorpeshansky merged 45 commits into
masterfrom
igorpeshansky-bump-rubocop
Mar 21, 2023
Merged

Bump rubocop version to 1.48.1.#500
igorpeshansky merged 45 commits into
masterfrom
igorpeshansky-bump-rubocop

Conversation

@igorpeshansky

@igorpeshansky igorpeshansky commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

Also fix all of the new warnings.

b/272577695.

See also GoogleCloudPlatform/fluent-plugin-detect-exceptions#101.

- Style/SymbolArray
- Style/WordArray
- Layout/MultilineMethodCallBraceLayout
- Layout/MultilineMethodDefinitionBraceLayout
- Layout/EmptyLineAfterMagicComment
- Layout/EmptyLineAfterGuardClause
- Layout/EmptyLinesAroundExceptionHandlingKeywords
- Layout/MultilineArrayBraceLayout
- Layout/ClosingParenthesisIndentation
- Layout/FirstArrayElementIndentation
- Layout/ClosingHeredocIndentation
- Layout/FirstParameterIndentation
- Layout/ClosingParenthesisIndentation
- Layout/BeginEndAlignment.
- Layout/BlockAlignment
- Layout/IndentationWidth
- Layout/ClosingHeredocIndentation
- Naming/HeredocDelimiterCase
- Naming/HeredocDelimiterNaming
- Naming/MethodParameterName
- Naming/VariableNumber
- Style/MissingRespondToMissing
- Lint/MissingSuper
@igorpeshansky igorpeshansky requested review from a team and LujieDuan and removed request for a team March 17, 2023 19:24

@LujieDuan LujieDuan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks for having each fix in its own commit - that makes verifying each enforcement very easy.

The presubmit is failed as rubocop=1.48.1 requires ruby >= 2.6. Should we modify the test matrix in this PR?

Comment thread fluent-plugin-google-cloud.gemspec
@igorpeshansky

Copy link
Copy Markdown
Contributor Author

The presubmit is failed as rubocop=1.48.1 requires ruby >= 2.6. Should we modify the test matrix in this PR?

Good point. Fixed.

@LujieDuan LujieDuan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

calling URI.open via Kernel#open is deprecated

2 participants