diff options
| author | Geremia Taglialatela <[email protected]> | 2023-06-05 16:49:23 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-06-05 17:27:41 +0200 |
| commit | 0cc60e3eb08e11542612871e2e15350ed07fff06 (patch) | |
| tree | ae63495552175e26ab6be3aefe190a7e5ab657a9 /.rubocop_todo.yml | |
| parent | 7fdbd745a2c914001a2174aeadae26b9c970ffaf (diff) | |
| download | caxlsx-0cc60e3eb08e11542612871e2e15350ed07fff06.tar.gz caxlsx-0cc60e3eb08e11542612871e2e15350ed07fff06.zip | |
Fix Style/RedundantInterpolation offenses
`%` is an operation on `String` that will return a new `String`, so
the interpolation is redundant
Also adds a missing spec on PivotTable#rels_pn
```
IPS:
uninterpolated: 4045715.7 i/s
interpolated: 2359775.6 i/s - 1.71x (± 0.00) slower
Memory:
uninterpolated: 160 allocated
interpolated: 232 allocated - 1.45x more
```
Diffstat (limited to '.rubocop_todo.yml')
| -rw-r--r-- | .rubocop_todo.yml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 67e59726..b68f9b61 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -323,19 +323,6 @@ Style/RandomWithOffset: Exclude: - 'lib/axlsx/drawing/vml_shape.rb' -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/RedundantInterpolation: - Exclude: - - 'lib/axlsx/drawing/chart.rb' - - 'lib/axlsx/drawing/drawing.rb' - - 'lib/axlsx/drawing/pic.rb' - - 'lib/axlsx/drawing/vml_drawing.rb' - - 'lib/axlsx/workbook/worksheet/comments.rb' - - 'lib/axlsx/workbook/worksheet/pivot_table.rb' - - 'lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb' - - 'lib/axlsx/workbook/worksheet/table.rb' - - 'lib/axlsx/workbook/worksheet/worksheet.rb' - # This cop supports safe autocorrection (--autocorrect). Style/RedundantRegexpEscape: Exclude: |
