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

Style/LineEndConcatenation-20240125233318 #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 180`
# on 2024-01-16 23:33:30 UTC using RuboCop version 1.60.0.
# on 2024-01-25 23:33:28 UTC using RuboCop version 1.60.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -111,14 +111,6 @@ Layout/IndentationWidth:
Exclude:
- 'lib/excel_templating/excel_abstraction/work_book.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Exclude:
- 'lib/excel_templating/document/data_source_registry/registry_renderer.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
Expand Down Expand Up @@ -291,16 +283,6 @@ Style/Alias:
- 'lib/excel_templating/excel_abstraction/cell_range.rb'
- 'lib/excel_templating/excel_abstraction/row.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames.
# RedundantRestArgumentNames: args, arguments
# RedundantKeywordRestArgumentNames: kwargs, options, opts
# RedundantBlockArgumentNames: blk, block, proc
Style/ArgumentsForwarding:
Exclude:
- 'lib/excel_templating/document.rb'

# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
Expand Down Expand Up @@ -475,12 +457,6 @@ Style/IfUnlessModifier:
- 'lib/excel_templating/excel_abstraction/work_book.rb'
- 'lib/excel_templating/renderer.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/LineEndConcatenation:
Exclude:
- 'lib/excel_templating/document/data_source_registry/registry_renderer.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
Expand Down Expand Up @@ -549,12 +525,6 @@ Style/RedundantFilterChain:
Exclude:
- 'lib/excel_templating/document/data_source_registry.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/RedundantInterpolation:
Exclude:
- 'lib/excel_templating/document/data_source_registry/registry_renderer.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantParentheses:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def initialize(registry, data)
# @return [Hash] Gives back a hash of options which adds the validation options for the symbol
def absolute_reference_for(source_symbol)
unless registry.has_registry?(source_symbol)
raise ArgumentError, "#{source_symbol} is not a defined data_source. Defined data sources are " +
"#{registry.supported_registries}"
raise ArgumentError, "#{source_symbol} is not a defined data_source. Defined data sources are " \
"#{registry.supported_registries}"
end
registry_info = registry[source_symbol]
validation_options_for(registry_info)
Expand Down