Skip to content

Commit

Permalink
return appsec settings to correct type signature and exclude the file…
Browse files Browse the repository at this point in the history
… from steep
  • Loading branch information
p committed Sep 25, 2024
1 parent 530869c commit 9ab6ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Steepfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ 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 @@ -17,7 +17,7 @@ module Datadog

def self.add_settings!: (untyped base) -> untyped

def enabled: -> bool
def self.enabled: -> bool
end
end
end
Expand Down

0 comments on commit 9ab6ac6

Please sign in to comment.