Skip to content

Commit

Permalink
rubocop -A
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Nov 12, 2023
1 parent 25966c6 commit d3cb0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/dry/auto_inject/dependency_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module AutoInject
DuplicateDependencyError = Class.new(StandardError)
DependencyNameInvalid = Class.new(StandardError)

VALID_NAME = /([a-z_][a-zA-Z_0-9]*)$/.freeze
VALID_NAME = /([a-z_][a-zA-Z_0-9]*)$/

class DependencyMap
def initialize(*dependencies)
Expand Down
3 changes: 1 addition & 2 deletions spec/integration/kwargs/super_initialize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def initialize(*args)
Class.new do
# rubocop:disable Lint/RedundantCopDisableDirective
# rubocop:disable Style/RedundantInitialize
def initialize
end
def initialize; end
# rubocop:enable Style/RedundantInitialize
# rubocop:enable Lint/RedundantCopDisableDirective
end
Expand Down

0 comments on commit d3cb0a2

Please sign in to comment.