Skip to content

Commit

Permalink
wip steep
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Sep 30, 2024
1 parent 69ac3b8 commit e4f906a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ end

group :check do
if RUBY_VERSION >= '3.0.0' && RUBY_PLATFORM != 'java'
gem 'rbs', '~> 3.5.0', require: false
gem 'rbs', '~> 3.6.0', require: false
gem 'steep', '~> 1.7.0', require: false
end
gem 'ruby_memcheck', '>= 3' if RUBY_VERSION >= '3.4.0' && RUBY_PLATFORM != 'java'
Expand Down
2 changes: 0 additions & 2 deletions Steepfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ target :datadog do

ignore 'lib/datadog/appsec.rb'
ignore 'lib/datadog/appsec/component.rb'
# Excluded due to https://github.com/soutaro/steep/issues/1232
ignore 'lib/datadog/appsec/configuration/settings.rb'
ignore 'lib/datadog/appsec/contrib/'
ignore 'lib/datadog/appsec/contrib/auto_instrument.rb'
ignore 'lib/datadog/appsec/contrib/integration.rb'
Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/appsec/configuration/settings.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Datadog

def self.extended: (untyped base) -> untyped

def self.add_settings!: (untyped base) -> untyped
def self.add_settings!: (singleton(Datadog::Core::Configuration::Settings) base) -> untyped

def self.enabled: -> bool
end
Expand Down
2 changes: 2 additions & 0 deletions sig/datadog/core/configuration/settings.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module Datadog
module Configuration
class Settings
include Base
include Base::InstanceMethods
extend Base::ClassMethods

interface _Remote
def enabled: () -> bool
Expand Down

0 comments on commit e4f906a

Please sign in to comment.