Skip to content

Commit

Permalink
Sorber removal (3/3): Remove all # typed: ... comments
Browse files Browse the repository at this point in the history
These add no value with Sorbet not present, and would bitrot anyway if
we left them in, so let's just rip off the band-aid.
  • Loading branch information
ivoanjo committed Feb 24, 2023
1 parent 36ee656 commit 1dc95e2
Show file tree
Hide file tree
Showing 1,158 changed files with 0 additions and 2,265 deletions.
2 changes: 0 additions & 2 deletions benchmarks/dogstatsd_reporter.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

require 'ddtrace'
require 'datadog/statsd'
require 'benchmark/ips'
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/profiler_http_transport.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

# Used to quickly run benchmark under RSpec as part of the usual test suite, to validate it didn't bitrot
VALIDATE_BENCHMARK_MODE = ENV['VALIDATE_BENCHMARK'] == 'true'

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/profiler_sample_loop.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

# Used to quickly run benchmark under RSpec as part of the usual test suite, to validate it didn't bitrot
VALIDATE_BENCHMARK_MODE = ENV['VALIDATE_BENCHMARK'] == 'true'

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/profiler_sample_loop_v2.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

# Used to quickly run benchmark under RSpec as part of the usual test suite, to validate it didn't bitrot
VALIDATE_BENCHMARK_MODE = ENV['VALIDATE_BENCHMARK'] == 'true'

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/profiler_submission.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

# Used to quickly run benchmark under RSpec as part of the usual test suite, to validate it didn't bitrot
VALIDATE_BENCHMARK_MODE = ENV['VALIDATE_BENCHMARK'] == 'true'

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/sidekiq_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

ENV['RAILS_ENV'] = 'production'
require 'English'

Expand Down
2 changes: 0 additions & 2 deletions ext/ddtrace_profiling_loader/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

# rubocop:disable Style/StderrPuts
# rubocop:disable Style/GlobalVars

Expand Down
2 changes: 0 additions & 2 deletions ext/ddtrace_profiling_native_extension/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

# rubocop:disable Style/StderrPuts
# rubocop:disable Style/GlobalVars

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

# typed: ignore

require 'rubygems'
require 'pathname'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative 'appsec/configuration'
require_relative 'appsec/extensions'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/assets.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

require 'pathname'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/autoload.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

if %w[1 true].include?((ENV['DD_APPSEC_ENABLED'] || '').downcase)
begin
require_relative 'contrib/auto_instrument'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/component.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative 'processor'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/configuration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative 'configuration/settings'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Configuration
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/auto_instrument.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../core/configuration/base'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/integration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/patcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../configuration/settings'
require_relative '../ext'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/ext.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/gateway/watcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../instrumentation/gateway'
require_relative '../../../reactive/operation'
require_relative '../reactive/request'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/integration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../integration'

require_relative 'configuration/settings'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/patcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../patcher'
require_relative '../../monitor'
require_relative 'gateway/watcher'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/contrib/rack/reactive/request.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative '../request'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/contrib/rack/reactive/request_body.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative '../request'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/contrib/rack/reactive/response.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative '../response'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/request.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../tracing/client_ip'
require_relative '../../../tracing/contrib/rack/header_collection'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/request_body_middleware.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../instrumentation/gateway'
require_relative '../../response'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/request_middleware.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require 'json'

require_relative '../../ext'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rack/response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../configuration/settings'
require_relative '../ext'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/ext.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/framework.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/gateway/watcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../instrumentation/gateway'
require_relative '../../../reactive/operation'
require_relative '../reactive/action'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/integration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../integration'

require_relative 'configuration/settings'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/patcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../core/utils/only_once'

require_relative '../patcher'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/contrib/rails/reactive/action.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative '../request'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/request.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/rails/request_middleware.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../configuration/settings'
require_relative '../ext'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/ext.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/framework.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../instrumentation/gateway'
require_relative '../../../reactive/operation'
require_relative '../../rack/reactive/request_body'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/integration.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../integration'

require_relative 'configuration/settings'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/patcher.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative '../../../tracing/contrib/rack/middlewares'

require_relative '../patcher'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/contrib/sinatra/reactive/routed.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/contrib/sinatra/request_middleware.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Contrib
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/event.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require 'json'

require_relative 'contrib/rack/request'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/ext.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/extensions.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative 'configuration'

module Datadog
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/instrumentation/gateway.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

module Datadog
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/monitor.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative 'monitor/gateway/watcher'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/monitor/gateway/watcher.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require_relative '../../ext'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/monitor/reactive/set_user.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/processor.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

require_relative 'assets'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/rate_limiter.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
# Simple per-thread rate limiter
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/reactive/address_hash.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

module Datadog
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/reactive/engine.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative 'address_hash'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/reactive/operation.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

require_relative 'engine'
Expand Down
1 change: 0 additions & 1 deletion lib/datadog/appsec/reactive/subscriber.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: ignore
# frozen_string_literal: true

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/response.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative 'assets'
require_relative 'utils/http/media_range'

Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/utils/http/media_range.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

require_relative 'media_type'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/appsec/utils/http/media_type.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: ignore

module Datadog
module AppSec
module Utils
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/ci.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: strict

require_relative 'core'
require_relative 'tracing'
require_relative 'tracing/contrib'
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/ci/configuration/components.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: true

require_relative '../flush'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/ci/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

require_relative '../ext/settings'

module Datadog
Expand Down
2 changes: 0 additions & 2 deletions lib/datadog/ci/contrib/cucumber/configuration/settings.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# typed: false

require_relative '../../../../tracing/contrib/configuration/settings'
require_relative '../ext'

Expand Down
Loading

0 comments on commit 1dc95e2

Please sign in to comment.