Skip to content

Commit

Permalink
update RuboCop v1.64.1 (#148, rggen/rggen#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-ishitani authored Jan 11, 2025
1 parent 2ab0528 commit f0c8207
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ plugins:
enabled: true
rubocop:
enabled: true
channel: rubocop-1-56-3
channel: beta
exclude_patterns:
- "spec/"
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ Naming/AccessorMethodName:
Naming/MethodName:
Exclude:
- lib/rggen/core/core_extensions/kernel.rb

Style/SymbolProc:
Exclude:
- lib/rggen/core/input_base/component_factory.rb
2 changes: 1 addition & 1 deletion lib/rggen/core/builder/list_feature_entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ListFeatureEntry < FeatureEntryBase
include Base::SharedContext

def initialize(registry, name)
super(registry, name)
super
@features = {}
end

Expand Down
2 changes: 1 addition & 1 deletion lib/rggen/core/utility/code_utility/source_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def macro_definition_block
end

def include_guard_footer
@guard_macro && (-> { self.class.endif_keyword })
@guard_macro && -> { self.class.endif_keyword }
end
end
end
Expand Down

0 comments on commit f0c8207

Please sign in to comment.