Skip to content

Enable RSpec/NotToNot and Style/StringLiterals (double_quotes) - #92

Merged
dduugg merged 1 commit into
mainfrom
enable-not-to-not-and-double-quotes
Nov 30, 2026
Merged

dduugg merged 1 commit into
mainfrom
enable-not-to-not-and-double-quotes

Conversation

@dduugg

@dduugg dduugg commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables two cops in .rubocop.yml and fixes the resulting violations: RSpec/NotToNot and Style/StringLiterals with EnforcedStyle: double_quotes. This matches the setup the other rubyatscale gems now have since their "Add rubocop-gusto" PRs.

What changed

  • Enables RSpec/NotToNot (rubocop-gusto leaves it off by default) and autocorrects the 1 to_not call it flags.
  • Enables Style/StringLiterals with EnforcedStyle: double_quotes and converts 2 files to match.
  • Fixes use safe autocorrect only (rubocop -a); no unsafe correction and no hand edits.

Verification

  • rubocop: 32 files, 0 offenses
  • tests: 75 examples, 0 failures
  • srb tc: no errors
  • The gem version is unchanged, so merging does not publish a release.

- Enables `RSpec/NotToNot` (rubocop-gusto leaves it off by default) and autocorrects the 1 `to_not` call it flags.
- Enables `Style/StringLiterals` with `EnforcedStyle: double_quotes` and converts 2 files to match.
- Fixes use safe autocorrect only (`rubocop -a`); no unsafe correction and no hand edits.
@dduugg
dduugg requested a review from a team as a code owner November 30, 2026 21:49
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Nov 30, 2026
@dduugg
dduugg merged commit f5d8835 into main Nov 30, 2026
19 of 21 checks passed
@dduugg
dduugg deleted the enable-not-to-not-and-double-quotes branch November 30, 2026 21:59
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant