KEMBAR78
Follow module inclusion with nonzero args with an empty line by issyl0 · Pull Request #14455 · rubocop/rubocop · GitHub
Skip to content

Conversation

@issyl0
Copy link
Contributor

@issyl0 issyl0 commented Aug 17, 2025

  • The fix for Layout/EmptyLinesAfterModuleInclusion cop in 49c140b produced false negatives1 when include and friends were, validly, called with multiple arguments.

Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@issyl0 issyl0 force-pushed the fix-false-negatives-in-layout/emptylineaftermoduleinclusion branch from 4a91d9b to 594404e Compare August 17, 2025 22:37
@issyl0 issyl0 marked this pull request as ready for review August 17, 2025 22:38
- The fix for `Layout/EmptyLinesAfterModuleInclusion` cop in
  49c140b produced false negatives[1]
  when `include` and friends were, validly, called with multiple
  arguments.

[1]: rubocop#14444 (comment)
@issyl0 issyl0 force-pushed the fix-false-negatives-in-layout/emptylineaftermoduleinclusion branch from 594404e to c661848 Compare August 18, 2025 18:04
@koic koic merged commit fce3e60 into rubocop:master Aug 18, 2025
22 checks passed
@issyl0 issyl0 deleted the fix-false-negatives-in-layout/emptylineaftermoduleinclusion branch August 18, 2025 18:20
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.

2 participants