Skip to content

Commit

Permalink
Add types for setup.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Nov 2, 2023
1 parent 5056672 commit 832d121
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions sorbet/rbi/shims/sentry-raven.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# typed: strong
# frozen_string_literal: true

module Raven
class << self
sig { params(_blk: T.proc.params(arg0: Raven::Configuration).void).void }
def configure(&_blk); end
end

class Configuration
sig { returns(T.nilable(::Logger)) }
attr_accessor :logger

sig { returns(T.nilable(String)) }
attr_accessor :project_root

sig { returns(T.nilable(::Regexp)) }
attr_accessor :app_dirs_pattern

sig { returns(T::Array[T.class_of(Raven::Processor)]) }
attr_accessor :processors
end
end
2 changes: 1 addition & 1 deletion updater/lib/dependabot/setup.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: false
# typed: strict
# frozen_string_literal: true

require "dependabot/logger"
Expand Down

0 comments on commit 832d121

Please sign in to comment.