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

(RUBOCOP) Resolve Rubocop Issues #1149

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

david22swan
Copy link
Member

@david22swan david22swan commented Aug 30, 2023

Resolved:

  • Layout/ClosingHeredocIndentation
  • Lint/RedundantCopEnableDirective
  • Naming/MemoizedInstanceVariableName
  • RSpec/ContextWording
  • RSpec/EmptyLineAfterExample
  • RSpec/EmptyLineAfterExampleGroup
  • RSpec/EmptyLineAfterHook
  • RSpec/ImplicitSubject
  • RSpec/RepeatedExampleGroupBody
  • Style/IfUnlessModifier
  • Style/RedundantArgument
  • Style/RescueStandardError
  • Style/SlicingWithRange
  • Style/TrailingCommaInHashLiteral

Left in Place:

  • RSpec/NoExpectationExample: Unable to properly wrap applies in such a way as to serve as an expectation.
  • Style/GlobalVars: Replacing global variables with Constants causes warnings to be thrown by puppet applies.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

Resolved:
- Layout:ClosingHeredocIndentation
- Lint/RedundantCopEnableDirective
- Naming/MemoizedInstanceVariableName
- RSpec/ContextWording
- RSpec/EmptyLineAfterExample
- RSpec/EmptyLineAfterExampleGroup
- RSpec/EmptyLineAfterHook
- RSpec/ImplicitSubject
- RSpec/RepeatedExampleGroupBody
- Style/IfUnlessModifier
- Style/RedundantArgument
- Style/RescueStandardError
- Style/SlicingWithRange
- Style/TrailingCommaInHashLiteral

Left in Place:
- RSpec/NoExpectationExample: Unable to properly wrap applies in such a way as to serve as an expectation.
- Style/GlobalVars: Replacing global variables with Constants causes warnings to be thrown by puppet applies.
Copy link
Contributor

@LukasAud LukasAud left a comment

Choose a reason for hiding this comment

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

LGTM

@LukasAud LukasAud merged commit 6209fc4 into puppetlabs:main Aug 31, 2023
37 checks passed
@david22swan david22swan deleted the RUBOCOP branch September 13, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants