redis / redis-rb

A Ruby client library for Redis
MIT License
3.96k stars 1.03k forks source link

Clean up rubocop todos #1253

Closed wmontgomery-splunk closed 7 months ago

wmontgomery-splunk commented 7 months ago

This just cleans up some Rubocop exclusions and fixes one offense.

The Naming/VariableNumber cop was resolved with this change: https://github.com/redis/redis-rb/commit/221fa474d888f938dfe7c1031c0093101832b912#diff-c88392b188437e96c61abfa18c6a946b25adb60979605f673fe1b855b0306be4L38

The Lint/RedundantStringCoercion cop is resolved by not calling #to_s during string interpolation because it's called by default.