From 1dc95e27d927978e547c2e12b38cb7e3aff3b92e Mon Sep 17 00:00:00 2001 From: Ivo Anjo Date: Fri, 24 Feb 2023 11:27:32 +0000 Subject: [PATCH] Sorber removal (3/3): Remove all `# typed: ...` comments 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. --- benchmarks/dogstatsd_reporter.rb | 2 -- benchmarks/profiler_http_transport.rb | 2 -- benchmarks/profiler_sample_loop.rb | 2 -- benchmarks/profiler_sample_loop_v2.rb | 2 -- benchmarks/profiler_submission.rb | 2 -- benchmarks/sidekiq_test.rb | 2 -- ext/ddtrace_profiling_loader/extconf.rb | 2 -- ext/ddtrace_profiling_native_extension/extconf.rb | 2 -- .../native_extension_helpers.rb | 2 -- lib/datadog/appsec.rb | 2 -- lib/datadog/appsec/assets.rb | 2 -- lib/datadog/appsec/autoload.rb | 2 -- lib/datadog/appsec/component.rb | 1 - lib/datadog/appsec/configuration.rb | 2 -- lib/datadog/appsec/configuration/settings.rb | 2 -- lib/datadog/appsec/contrib/auto_instrument.rb | 2 -- lib/datadog/appsec/contrib/configuration/settings.rb | 2 -- lib/datadog/appsec/contrib/integration.rb | 2 -- lib/datadog/appsec/contrib/patcher.rb | 2 -- lib/datadog/appsec/contrib/rack/configuration/settings.rb | 2 -- lib/datadog/appsec/contrib/rack/ext.rb | 2 -- lib/datadog/appsec/contrib/rack/gateway/watcher.rb | 2 -- lib/datadog/appsec/contrib/rack/integration.rb | 2 -- lib/datadog/appsec/contrib/rack/patcher.rb | 2 -- lib/datadog/appsec/contrib/rack/reactive/request.rb | 1 - lib/datadog/appsec/contrib/rack/reactive/request_body.rb | 1 - lib/datadog/appsec/contrib/rack/reactive/response.rb | 1 - lib/datadog/appsec/contrib/rack/request.rb | 2 -- lib/datadog/appsec/contrib/rack/request_body_middleware.rb | 2 -- lib/datadog/appsec/contrib/rack/request_middleware.rb | 2 -- lib/datadog/appsec/contrib/rack/response.rb | 2 -- lib/datadog/appsec/contrib/rails/configuration/settings.rb | 2 -- lib/datadog/appsec/contrib/rails/ext.rb | 2 -- lib/datadog/appsec/contrib/rails/framework.rb | 2 -- lib/datadog/appsec/contrib/rails/gateway/watcher.rb | 2 -- lib/datadog/appsec/contrib/rails/integration.rb | 2 -- lib/datadog/appsec/contrib/rails/patcher.rb | 2 -- lib/datadog/appsec/contrib/rails/reactive/action.rb | 1 - lib/datadog/appsec/contrib/rails/request.rb | 2 -- lib/datadog/appsec/contrib/rails/request_middleware.rb | 2 -- lib/datadog/appsec/contrib/sinatra/configuration/settings.rb | 2 -- lib/datadog/appsec/contrib/sinatra/ext.rb | 2 -- lib/datadog/appsec/contrib/sinatra/framework.rb | 2 -- lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb | 2 -- lib/datadog/appsec/contrib/sinatra/integration.rb | 2 -- lib/datadog/appsec/contrib/sinatra/patcher.rb | 2 -- lib/datadog/appsec/contrib/sinatra/reactive/routed.rb | 1 - lib/datadog/appsec/contrib/sinatra/request_middleware.rb | 2 -- lib/datadog/appsec/event.rb | 2 -- lib/datadog/appsec/ext.rb | 1 - lib/datadog/appsec/extensions.rb | 2 -- lib/datadog/appsec/instrumentation/gateway.rb | 1 - lib/datadog/appsec/monitor.rb | 1 - lib/datadog/appsec/monitor/gateway/watcher.rb | 1 - lib/datadog/appsec/monitor/reactive/set_user.rb | 1 - lib/datadog/appsec/processor.rb | 2 -- lib/datadog/appsec/rate_limiter.rb | 2 -- lib/datadog/appsec/reactive/address_hash.rb | 1 - lib/datadog/appsec/reactive/engine.rb | 1 - lib/datadog/appsec/reactive/operation.rb | 1 - lib/datadog/appsec/reactive/subscriber.rb | 1 - lib/datadog/appsec/response.rb | 2 -- lib/datadog/appsec/utils/http/media_range.rb | 2 -- lib/datadog/appsec/utils/http/media_type.rb | 2 -- lib/datadog/ci.rb | 2 -- lib/datadog/ci/configuration/components.rb | 2 -- lib/datadog/ci/configuration/settings.rb | 2 -- lib/datadog/ci/contrib/cucumber/configuration/settings.rb | 2 -- lib/datadog/ci/contrib/cucumber/ext.rb | 2 -- lib/datadog/ci/contrib/cucumber/formatter.rb | 2 -- lib/datadog/ci/contrib/cucumber/instrumentation.rb | 2 -- lib/datadog/ci/contrib/cucumber/integration.rb | 2 -- lib/datadog/ci/contrib/cucumber/patcher.rb | 2 -- lib/datadog/ci/contrib/rspec/configuration/settings.rb | 2 -- lib/datadog/ci/contrib/rspec/example.rb | 2 -- lib/datadog/ci/contrib/rspec/ext.rb | 2 -- lib/datadog/ci/contrib/rspec/integration.rb | 2 -- lib/datadog/ci/contrib/rspec/patcher.rb | 2 -- lib/datadog/ci/ext/app_types.rb | 2 -- lib/datadog/ci/ext/environment.rb | 2 -- lib/datadog/ci/ext/settings.rb | 2 -- lib/datadog/ci/ext/test.rb | 2 -- lib/datadog/ci/extensions.rb | 2 -- lib/datadog/ci/flush.rb | 2 -- lib/datadog/ci/test.rb | 2 -- lib/datadog/core.rb | 1 - lib/datadog/core/buffer/cruby.rb | 2 -- lib/datadog/core/buffer/random.rb | 2 -- lib/datadog/core/buffer/thread_safe.rb | 2 -- lib/datadog/core/chunker.rb | 2 -- lib/datadog/core/configuration.rb | 2 -- lib/datadog/core/configuration/agent_settings_resolver.rb | 2 -- lib/datadog/core/configuration/base.rb | 2 -- lib/datadog/core/configuration/components.rb | 2 -- lib/datadog/core/configuration/dependency_resolver.rb | 2 -- lib/datadog/core/configuration/ext.rb | 2 -- lib/datadog/core/configuration/option.rb | 2 -- lib/datadog/core/configuration/option_definition.rb | 2 -- lib/datadog/core/configuration/option_definition_set.rb | 2 -- lib/datadog/core/configuration/option_set.rb | 2 -- lib/datadog/core/configuration/options.rb | 2 -- lib/datadog/core/configuration/settings.rb | 2 -- lib/datadog/core/diagnostics/environment_logger.rb | 2 -- lib/datadog/core/diagnostics/health.rb | 2 -- lib/datadog/core/encoding.rb | 2 -- lib/datadog/core/environment/cgroup.rb | 2 -- lib/datadog/core/environment/class_count.rb | 2 -- lib/datadog/core/environment/container.rb | 2 -- lib/datadog/core/environment/ext.rb | 2 -- lib/datadog/core/environment/gc.rb | 2 -- lib/datadog/core/environment/identity.rb | 2 -- lib/datadog/core/environment/platform.rb | 2 -- lib/datadog/core/environment/socket.rb | 2 -- lib/datadog/core/environment/thread_count.rb | 2 -- lib/datadog/core/environment/variable_helpers.rb | 2 -- lib/datadog/core/environment/vm_cache.rb | 2 -- lib/datadog/core/error.rb | 2 -- lib/datadog/core/extensions.rb | 2 -- lib/datadog/core/git/ext.rb | 2 -- lib/datadog/core/logger.rb | 2 -- lib/datadog/core/metrics/client.rb | 2 -- lib/datadog/core/metrics/ext.rb | 2 -- lib/datadog/core/metrics/helpers.rb | 2 -- lib/datadog/core/metrics/logging.rb | 2 -- lib/datadog/core/metrics/metric.rb | 2 -- lib/datadog/core/metrics/options.rb | 2 -- lib/datadog/core/pin.rb | 2 -- lib/datadog/core/runtime/ext.rb | 2 -- lib/datadog/core/runtime/metrics.rb | 2 -- lib/datadog/core/telemetry/client.rb | 2 -- lib/datadog/core/telemetry/collector.rb | 2 -- lib/datadog/core/telemetry/emitter.rb | 2 -- lib/datadog/core/telemetry/event.rb | 2 -- lib/datadog/core/telemetry/ext.rb | 2 -- lib/datadog/core/telemetry/heartbeat.rb | 2 -- lib/datadog/core/telemetry/http/adapters/net.rb | 2 -- lib/datadog/core/telemetry/http/env.rb | 2 -- lib/datadog/core/telemetry/http/response.rb | 2 -- lib/datadog/core/telemetry/http/transport.rb | 2 -- lib/datadog/core/utils.rb | 2 -- lib/datadog/core/utils/compression.rb | 2 -- lib/datadog/core/utils/forking.rb | 2 -- lib/datadog/core/utils/object_set.rb | 2 -- lib/datadog/core/utils/only_once.rb | 2 -- lib/datadog/core/utils/safe_dup.rb | 2 -- lib/datadog/core/utils/sequence.rb | 2 -- lib/datadog/core/utils/string_table.rb | 2 -- lib/datadog/core/utils/time.rb | 2 -- lib/datadog/core/vendor/multipart-post/multipart.rb | 2 -- lib/datadog/core/vendor/multipart-post/multipart/post.rb | 2 -- .../vendor/multipart-post/multipart/post/composite_read_io.rb | 2 -- .../core/vendor/multipart-post/multipart/post/multipartable.rb | 2 -- lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb | 2 -- .../core/vendor/multipart-post/multipart/post/version.rb | 2 -- .../core/vendor/multipart-post/net/http/post/multipart.rb | 2 -- lib/datadog/core/worker.rb | 2 -- lib/datadog/core/workers/async.rb | 2 -- lib/datadog/core/workers/interval_loop.rb | 2 -- lib/datadog/core/workers/polling.rb | 2 -- lib/datadog/core/workers/queue.rb | 2 -- lib/datadog/core/workers/runtime_metrics.rb | 2 -- lib/datadog/kit.rb | 2 -- lib/datadog/kit/appsec/events.rb | 1 - lib/datadog/kit/enable_core_dumps.rb | 1 - lib/datadog/kit/identity.rb | 1 - lib/datadog/opentelemetry.rb | 1 - lib/datadog/opentelemetry/api/context.rb | 1 - lib/datadog/opentelemetry/api/trace/span.rb | 1 - lib/datadog/opentelemetry/sdk/configurator.rb | 1 - lib/datadog/opentelemetry/sdk/id_generator.rb | 1 - lib/datadog/opentelemetry/sdk/propagator.rb | 1 - lib/datadog/opentelemetry/sdk/span_processor.rb | 1 - lib/datadog/opentracer.rb | 2 -- lib/datadog/opentracer/binary_propagator.rb | 2 -- lib/datadog/opentracer/carrier.rb | 2 -- lib/datadog/opentracer/distributed_headers.rb | 2 -- lib/datadog/opentracer/global_tracer.rb | 2 -- lib/datadog/opentracer/propagator.rb | 2 -- lib/datadog/opentracer/rack_propagator.rb | 2 -- lib/datadog/opentracer/scope.rb | 2 -- lib/datadog/opentracer/scope_manager.rb | 2 -- lib/datadog/opentracer/span.rb | 2 -- lib/datadog/opentracer/span_context.rb | 2 -- lib/datadog/opentracer/span_context_factory.rb | 2 -- lib/datadog/opentracer/text_map_propagator.rb | 2 -- lib/datadog/opentracer/thread_local_scope.rb | 2 -- lib/datadog/opentracer/thread_local_scope_manager.rb | 2 -- lib/datadog/opentracer/tracer.rb | 2 -- lib/datadog/profiling.rb | 2 -- lib/datadog/profiling/backtrace_location.rb | 2 -- lib/datadog/profiling/buffer.rb | 2 -- lib/datadog/profiling/collectors/code_provenance.rb | 2 -- lib/datadog/profiling/collectors/cpu_and_wall_time.rb | 2 -- lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb | 2 -- lib/datadog/profiling/collectors/dynamic_sampling_rate.rb | 2 -- lib/datadog/profiling/collectors/idle_sampling_helper.rb | 2 -- lib/datadog/profiling/collectors/old_stack.rb | 2 -- lib/datadog/profiling/collectors/stack.rb | 2 -- lib/datadog/profiling/component.rb | 1 - lib/datadog/profiling/encoding/profile.rb | 2 -- lib/datadog/profiling/event.rb | 2 -- lib/datadog/profiling/events/stack.rb | 2 -- lib/datadog/profiling/exporter.rb | 2 -- lib/datadog/profiling/ext.rb | 2 -- lib/datadog/profiling/ext/forking.rb | 2 -- lib/datadog/profiling/flush.rb | 2 -- lib/datadog/profiling/http_transport.rb | 2 -- lib/datadog/profiling/load_native_extension.rb | 2 -- lib/datadog/profiling/native_extension.rb | 2 -- lib/datadog/profiling/old_recorder.rb | 2 -- lib/datadog/profiling/pprof/builder.rb | 2 -- lib/datadog/profiling/pprof/converter.rb | 2 -- lib/datadog/profiling/pprof/message_set.rb | 2 -- lib/datadog/profiling/pprof/payload.rb | 2 -- lib/datadog/profiling/pprof/pprof_pb.rb | 2 -- lib/datadog/profiling/pprof/stack_sample.rb | 2 -- lib/datadog/profiling/pprof/string_table.rb | 2 -- lib/datadog/profiling/pprof/template.rb | 2 -- lib/datadog/profiling/preload.rb | 2 -- lib/datadog/profiling/profiler.rb | 2 -- lib/datadog/profiling/scheduler.rb | 2 -- lib/datadog/profiling/stack_recorder.rb | 2 -- lib/datadog/profiling/tag_builder.rb | 2 -- lib/datadog/profiling/tasks/exec.rb | 2 -- lib/datadog/profiling/tasks/help.rb | 2 -- lib/datadog/profiling/tasks/setup.rb | 2 -- lib/datadog/profiling/trace_identifiers/ddtrace.rb | 2 -- lib/datadog/profiling/trace_identifiers/helper.rb | 2 -- lib/datadog/tracing.rb | 2 -- lib/datadog/tracing/analytics.rb | 2 -- lib/datadog/tracing/buffer.rb | 2 -- lib/datadog/tracing/client_ip.rb | 2 -- lib/datadog/tracing/component.rb | 1 - lib/datadog/tracing/configuration/ext.rb | 2 -- lib/datadog/tracing/configuration/settings.rb | 2 -- lib/datadog/tracing/context.rb | 2 -- lib/datadog/tracing/context_provider.rb | 2 -- lib/datadog/tracing/contrib.rb | 2 -- .../tracing/contrib/action_cable/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/action_cable/event.rb | 2 -- lib/datadog/tracing/contrib/action_cable/events.rb | 2 -- lib/datadog/tracing/contrib/action_cable/events/broadcast.rb | 2 -- .../tracing/contrib/action_cable/events/perform_action.rb | 2 -- lib/datadog/tracing/contrib/action_cable/events/transmit.rb | 2 -- lib/datadog/tracing/contrib/action_cable/ext.rb | 2 -- lib/datadog/tracing/contrib/action_cable/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/action_cable/integration.rb | 2 -- lib/datadog/tracing/contrib/action_cable/patcher.rb | 2 -- .../tracing/contrib/action_mailer/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/event.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/events.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/events/deliver.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/events/process.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/ext.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/integration.rb | 2 -- lib/datadog/tracing/contrib/action_mailer/patcher.rb | 2 -- .../contrib/action_pack/action_controller/instrumentation.rb | 2 -- .../tracing/contrib/action_pack/action_controller/patcher.rb | 2 -- .../tracing/contrib/action_pack/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/action_pack/ext.rb | 2 -- lib/datadog/tracing/contrib/action_pack/integration.rb | 2 -- lib/datadog/tracing/contrib/action_pack/patcher.rb | 2 -- lib/datadog/tracing/contrib/action_pack/utils.rb | 2 -- .../tracing/contrib/action_view/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/action_view/event.rb | 2 -- lib/datadog/tracing/contrib/action_view/events.rb | 2 -- .../tracing/contrib/action_view/events/render_partial.rb | 2 -- .../tracing/contrib/action_view/events/render_template.rb | 2 -- lib/datadog/tracing/contrib/action_view/ext.rb | 2 -- .../contrib/action_view/instrumentation/partial_renderer.rb | 2 -- .../contrib/action_view/instrumentation/template_renderer.rb | 2 -- lib/datadog/tracing/contrib/action_view/integration.rb | 2 -- lib/datadog/tracing/contrib/action_view/patcher.rb | 2 -- lib/datadog/tracing/contrib/action_view/utils.rb | 2 -- .../tracing/contrib/active_job/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/active_job/event.rb | 2 -- lib/datadog/tracing/contrib/active_job/events.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/discard.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/enqueue.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/perform.rb | 2 -- lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb | 2 -- lib/datadog/tracing/contrib/active_job/ext.rb | 2 -- lib/datadog/tracing/contrib/active_job/integration.rb | 2 -- lib/datadog/tracing/contrib/active_job/log_injection.rb | 2 -- lib/datadog/tracing/contrib/active_job/patcher.rb | 2 -- .../contrib/active_model_serializers/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/active_model_serializers/event.rb | 2 -- lib/datadog/tracing/contrib/active_model_serializers/events.rb | 2 -- .../tracing/contrib/active_model_serializers/events/render.rb | 2 -- .../contrib/active_model_serializers/events/serialize.rb | 2 -- lib/datadog/tracing/contrib/active_model_serializers/ext.rb | 2 -- .../tracing/contrib/active_model_serializers/integration.rb | 2 -- lib/datadog/tracing/contrib/active_model_serializers/patcher.rb | 2 -- .../contrib/active_record/configuration/makara_resolver.rb | 2 -- .../tracing/contrib/active_record/configuration/resolver.rb | 2 -- .../tracing/contrib/active_record/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/active_record/event.rb | 2 -- lib/datadog/tracing/contrib/active_record/events.rb | 2 -- .../tracing/contrib/active_record/events/instantiation.rb | 2 -- lib/datadog/tracing/contrib/active_record/events/sql.rb | 2 -- lib/datadog/tracing/contrib/active_record/ext.rb | 2 -- lib/datadog/tracing/contrib/active_record/integration.rb | 2 -- lib/datadog/tracing/contrib/active_record/patcher.rb | 2 -- lib/datadog/tracing/contrib/active_record/utils.rb | 2 -- .../contrib/active_record/vendor/connection_specification.rb | 2 -- .../tracing/contrib/active_support/cache/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/active_support/cache/patcher.rb | 2 -- lib/datadog/tracing/contrib/active_support/cache/redis.rb | 2 -- .../tracing/contrib/active_support/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/active_support/ext.rb | 2 -- lib/datadog/tracing/contrib/active_support/integration.rb | 2 -- .../tracing/contrib/active_support/notifications/event.rb | 2 -- .../tracing/contrib/active_support/notifications/subscriber.rb | 2 -- .../contrib/active_support/notifications/subscription.rb | 2 -- lib/datadog/tracing/contrib/active_support/patcher.rb | 2 -- lib/datadog/tracing/contrib/analytics.rb | 2 -- lib/datadog/tracing/contrib/auto_instrument.rb | 2 -- lib/datadog/tracing/contrib/aws/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/aws/ext.rb | 2 -- lib/datadog/tracing/contrib/aws/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/aws/integration.rb | 2 -- lib/datadog/tracing/contrib/aws/parsed_context.rb | 2 -- lib/datadog/tracing/contrib/aws/patcher.rb | 2 -- lib/datadog/tracing/contrib/aws/services.rb | 2 -- .../tracing/contrib/concurrent_ruby/configuration/settings.rb | 2 -- .../concurrent_ruby/context_composite_executor_service.rb | 2 -- lib/datadog/tracing/contrib/concurrent_ruby/ext.rb | 2 -- lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb | 2 -- lib/datadog/tracing/contrib/concurrent_ruby/integration.rb | 2 -- lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb | 2 -- lib/datadog/tracing/contrib/configurable.rb | 2 -- lib/datadog/tracing/contrib/configuration/resolver.rb | 2 -- .../tracing/contrib/configuration/resolvers/pattern_resolver.rb | 2 -- lib/datadog/tracing/contrib/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/dalli/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/dalli/ext.rb | 2 -- lib/datadog/tracing/contrib/dalli/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/dalli/integration.rb | 2 -- lib/datadog/tracing/contrib/dalli/patcher.rb | 2 -- lib/datadog/tracing/contrib/dalli/quantize.rb | 2 -- .../tracing/contrib/delayed_job/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/delayed_job/ext.rb | 2 -- lib/datadog/tracing/contrib/delayed_job/integration.rb | 2 -- lib/datadog/tracing/contrib/delayed_job/patcher.rb | 2 -- lib/datadog/tracing/contrib/delayed_job/plugin.rb | 2 -- .../contrib/delayed_job/server_internal_tracer/worker.rb | 2 -- .../tracing/contrib/elasticsearch/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/elasticsearch/ext.rb | 2 -- lib/datadog/tracing/contrib/elasticsearch/integration.rb | 2 -- lib/datadog/tracing/contrib/elasticsearch/patcher.rb | 2 -- lib/datadog/tracing/contrib/elasticsearch/quantize.rb | 2 -- lib/datadog/tracing/contrib/ethon/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/ethon/easy_patch.rb | 2 -- lib/datadog/tracing/contrib/ethon/ext.rb | 2 -- lib/datadog/tracing/contrib/ethon/integration.rb | 2 -- lib/datadog/tracing/contrib/ethon/multi_patch.rb | 2 -- lib/datadog/tracing/contrib/ethon/patcher.rb | 2 -- lib/datadog/tracing/contrib/excon/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/excon/ext.rb | 2 -- lib/datadog/tracing/contrib/excon/integration.rb | 2 -- lib/datadog/tracing/contrib/excon/middleware.rb | 2 -- lib/datadog/tracing/contrib/excon/patcher.rb | 2 -- lib/datadog/tracing/contrib/extensions.rb | 2 -- lib/datadog/tracing/contrib/faraday/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/faraday/connection.rb | 2 -- lib/datadog/tracing/contrib/faraday/ext.rb | 2 -- lib/datadog/tracing/contrib/faraday/integration.rb | 2 -- lib/datadog/tracing/contrib/faraday/middleware.rb | 2 -- lib/datadog/tracing/contrib/faraday/patcher.rb | 2 -- lib/datadog/tracing/contrib/faraday/rack_builder.rb | 2 -- lib/datadog/tracing/contrib/grape/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/grape/endpoint.rb | 2 -- lib/datadog/tracing/contrib/grape/ext.rb | 2 -- lib/datadog/tracing/contrib/grape/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/grape/integration.rb | 2 -- lib/datadog/tracing/contrib/grape/patcher.rb | 2 -- lib/datadog/tracing/contrib/graphql/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/graphql/ext.rb | 2 -- lib/datadog/tracing/contrib/graphql/integration.rb | 2 -- lib/datadog/tracing/contrib/graphql/patcher.rb | 2 -- lib/datadog/tracing/contrib/grpc/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb | 2 -- lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb | 2 -- lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb | 2 -- lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb | 1 - lib/datadog/tracing/contrib/grpc/distributed/propagation.rb | 1 - lib/datadog/tracing/contrib/grpc/ext.rb | 2 -- lib/datadog/tracing/contrib/grpc/integration.rb | 2 -- lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb | 2 -- lib/datadog/tracing/contrib/grpc/patcher.rb | 2 -- lib/datadog/tracing/contrib/hanami/action_tracer.rb | 2 -- lib/datadog/tracing/contrib/hanami/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/hanami/ext.rb | 2 -- lib/datadog/tracing/contrib/hanami/integration.rb | 2 -- lib/datadog/tracing/contrib/hanami/patcher.rb | 2 -- lib/datadog/tracing/contrib/hanami/plugin.rb | 2 -- lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb | 2 -- lib/datadog/tracing/contrib/hanami/router_tracing.rb | 2 -- lib/datadog/tracing/contrib/http/circuit_breaker.rb | 2 -- lib/datadog/tracing/contrib/http/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/http/distributed/fetcher.rb | 1 - lib/datadog/tracing/contrib/http/distributed/propagation.rb | 1 - lib/datadog/tracing/contrib/http/ext.rb | 2 -- lib/datadog/tracing/contrib/http/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/http/integration.rb | 2 -- lib/datadog/tracing/contrib/http/patcher.rb | 2 -- lib/datadog/tracing/contrib/http_annotation_helper.rb | 2 -- .../tracing/contrib/httpclient/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/httpclient/ext.rb | 2 -- lib/datadog/tracing/contrib/httpclient/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/httpclient/integration.rb | 2 -- lib/datadog/tracing/contrib/httpclient/patcher.rb | 2 -- lib/datadog/tracing/contrib/httprb/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/httprb/ext.rb | 2 -- lib/datadog/tracing/contrib/httprb/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/httprb/integration.rb | 2 -- lib/datadog/tracing/contrib/httprb/patcher.rb | 2 -- lib/datadog/tracing/contrib/integration.rb | 2 -- lib/datadog/tracing/contrib/kafka/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/kafka/consumer_event.rb | 2 -- lib/datadog/tracing/contrib/kafka/consumer_group_event.rb | 2 -- lib/datadog/tracing/contrib/kafka/event.rb | 2 -- lib/datadog/tracing/contrib/kafka/events.rb | 2 -- lib/datadog/tracing/contrib/kafka/events/connection/request.rb | 2 -- .../tracing/contrib/kafka/events/consumer/process_batch.rb | 2 -- .../tracing/contrib/kafka/events/consumer/process_message.rb | 2 -- .../tracing/contrib/kafka/events/consumer_group/heartbeat.rb | 2 -- .../tracing/contrib/kafka/events/consumer_group/join_group.rb | 2 -- .../tracing/contrib/kafka/events/consumer_group/leave_group.rb | 2 -- .../tracing/contrib/kafka/events/consumer_group/sync_group.rb | 2 -- .../contrib/kafka/events/produce_operation/send_messages.rb | 2 -- .../tracing/contrib/kafka/events/producer/deliver_messages.rb | 2 -- lib/datadog/tracing/contrib/kafka/ext.rb | 2 -- lib/datadog/tracing/contrib/kafka/integration.rb | 2 -- lib/datadog/tracing/contrib/kafka/patcher.rb | 2 -- lib/datadog/tracing/contrib/lograge/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/lograge/ext.rb | 2 -- lib/datadog/tracing/contrib/lograge/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/lograge/integration.rb | 2 -- lib/datadog/tracing/contrib/lograge/patcher.rb | 2 -- lib/datadog/tracing/contrib/mongodb/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/mongodb/ext.rb | 2 -- lib/datadog/tracing/contrib/mongodb/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/mongodb/integration.rb | 2 -- lib/datadog/tracing/contrib/mongodb/parsers.rb | 2 -- lib/datadog/tracing/contrib/mongodb/patcher.rb | 2 -- lib/datadog/tracing/contrib/mongodb/subscribers.rb | 2 -- lib/datadog/tracing/contrib/mysql2/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/mysql2/ext.rb | 2 -- lib/datadog/tracing/contrib/mysql2/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/mysql2/integration.rb | 2 -- lib/datadog/tracing/contrib/mysql2/patcher.rb | 2 -- lib/datadog/tracing/contrib/patchable.rb | 2 -- lib/datadog/tracing/contrib/patcher.rb | 2 -- lib/datadog/tracing/contrib/pg/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/pg/ext.rb | 2 -- lib/datadog/tracing/contrib/pg/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/pg/integration.rb | 2 -- lib/datadog/tracing/contrib/pg/patcher.rb | 2 -- lib/datadog/tracing/contrib/presto/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/presto/ext.rb | 2 -- lib/datadog/tracing/contrib/presto/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/presto/integration.rb | 2 -- lib/datadog/tracing/contrib/presto/patcher.rb | 2 -- lib/datadog/tracing/contrib/propagation/sql_comment.rb | 2 -- lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb | 2 -- lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb | 2 -- lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb | 2 -- lib/datadog/tracing/contrib/qless/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/qless/ext.rb | 2 -- lib/datadog/tracing/contrib/qless/integration.rb | 2 -- lib/datadog/tracing/contrib/qless/patcher.rb | 2 -- lib/datadog/tracing/contrib/qless/qless_job.rb | 2 -- lib/datadog/tracing/contrib/qless/tracer_cleaner.rb | 2 -- lib/datadog/tracing/contrib/que/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/que/ext.rb | 2 -- lib/datadog/tracing/contrib/que/integration.rb | 2 -- lib/datadog/tracing/contrib/que/patcher.rb | 2 -- lib/datadog/tracing/contrib/que/tracer.rb | 2 -- lib/datadog/tracing/contrib/racecar/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/racecar/event.rb | 2 -- lib/datadog/tracing/contrib/racecar/events.rb | 2 -- lib/datadog/tracing/contrib/racecar/events/batch.rb | 2 -- lib/datadog/tracing/contrib/racecar/events/consume.rb | 2 -- lib/datadog/tracing/contrib/racecar/events/message.rb | 2 -- lib/datadog/tracing/contrib/racecar/ext.rb | 2 -- lib/datadog/tracing/contrib/racecar/integration.rb | 2 -- lib/datadog/tracing/contrib/racecar/patcher.rb | 2 -- lib/datadog/tracing/contrib/rack/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/rack/ext.rb | 2 -- lib/datadog/tracing/contrib/rack/integration.rb | 2 -- lib/datadog/tracing/contrib/rack/middlewares.rb | 2 -- lib/datadog/tracing/contrib/rack/patcher.rb | 2 -- lib/datadog/tracing/contrib/rack/request_queue.rb | 2 -- lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb | 2 -- lib/datadog/tracing/contrib/rails/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/rails/ext.rb | 2 -- lib/datadog/tracing/contrib/rails/framework.rb | 2 -- lib/datadog/tracing/contrib/rails/integration.rb | 2 -- lib/datadog/tracing/contrib/rails/log_injection.rb | 2 -- lib/datadog/tracing/contrib/rails/middlewares.rb | 2 -- lib/datadog/tracing/contrib/rails/patcher.rb | 2 -- lib/datadog/tracing/contrib/rails/railtie.rb | 2 -- lib/datadog/tracing/contrib/rails/utils.rb | 2 -- lib/datadog/tracing/contrib/rake/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/rake/ext.rb | 2 -- lib/datadog/tracing/contrib/rake/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/rake/integration.rb | 2 -- lib/datadog/tracing/contrib/rake/patcher.rb | 2 -- lib/datadog/tracing/contrib/redis/configuration/resolver.rb | 2 -- lib/datadog/tracing/contrib/redis/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/redis/ext.rb | 2 -- lib/datadog/tracing/contrib/redis/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/redis/integration.rb | 2 -- lib/datadog/tracing/contrib/redis/patcher.rb | 2 -- lib/datadog/tracing/contrib/redis/quantize.rb | 2 -- lib/datadog/tracing/contrib/redis/tags.rb | 2 -- lib/datadog/tracing/contrib/redis/trace_middleware.rb | 2 -- lib/datadog/tracing/contrib/redis/vendor/resolver.rb | 2 -- lib/datadog/tracing/contrib/registerable.rb | 2 -- lib/datadog/tracing/contrib/registry.rb | 2 -- lib/datadog/tracing/contrib/resque/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/resque/ext.rb | 2 -- lib/datadog/tracing/contrib/resque/integration.rb | 2 -- lib/datadog/tracing/contrib/resque/patcher.rb | 2 -- lib/datadog/tracing/contrib/resque/resque_job.rb | 2 -- .../tracing/contrib/rest_client/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/rest_client/ext.rb | 2 -- lib/datadog/tracing/contrib/rest_client/integration.rb | 2 -- lib/datadog/tracing/contrib/rest_client/patcher.rb | 2 -- lib/datadog/tracing/contrib/rest_client/request_patch.rb | 2 -- .../tracing/contrib/semantic_logger/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/semantic_logger/ext.rb | 2 -- lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/semantic_logger/integration.rb | 2 -- lib/datadog/tracing/contrib/semantic_logger/patcher.rb | 2 -- lib/datadog/tracing/contrib/sequel/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/sequel/database.rb | 2 -- lib/datadog/tracing/contrib/sequel/dataset.rb | 2 -- lib/datadog/tracing/contrib/sequel/ext.rb | 2 -- lib/datadog/tracing/contrib/sequel/integration.rb | 2 -- lib/datadog/tracing/contrib/sequel/patcher.rb | 2 -- lib/datadog/tracing/contrib/sequel/utils.rb | 2 -- lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/shoryuken/ext.rb | 2 -- lib/datadog/tracing/contrib/shoryuken/integration.rb | 2 -- lib/datadog/tracing/contrib/shoryuken/patcher.rb | 2 -- lib/datadog/tracing/contrib/shoryuken/tracer.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/client_tracer.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/ext.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/integration.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/patcher.rb | 2 -- .../tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb | 2 -- .../tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb | 2 -- .../contrib/sidekiq/server_internal_tracer/redis_info.rb | 2 -- .../contrib/sidekiq/server_internal_tracer/scheduled_poller.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/server_tracer.rb | 2 -- lib/datadog/tracing/contrib/sidekiq/tracing.rb | 2 -- lib/datadog/tracing/contrib/sinatra/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/sinatra/env.rb | 2 -- lib/datadog/tracing/contrib/sinatra/ext.rb | 2 -- lib/datadog/tracing/contrib/sinatra/framework.rb | 2 -- lib/datadog/tracing/contrib/sinatra/headers.rb | 2 -- lib/datadog/tracing/contrib/sinatra/integration.rb | 2 -- lib/datadog/tracing/contrib/sinatra/patcher.rb | 2 -- lib/datadog/tracing/contrib/sinatra/tracer.rb | 2 -- lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb | 2 -- lib/datadog/tracing/contrib/sneakers/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/sneakers/ext.rb | 2 -- lib/datadog/tracing/contrib/sneakers/integration.rb | 2 -- lib/datadog/tracing/contrib/sneakers/patcher.rb | 2 -- lib/datadog/tracing/contrib/sneakers/tracer.rb | 2 -- lib/datadog/tracing/contrib/status_code_matcher.rb | 2 -- lib/datadog/tracing/contrib/stripe/patcher.rb | 1 - .../tracing/contrib/sucker_punch/configuration/settings.rb | 2 -- lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb | 2 -- lib/datadog/tracing/contrib/sucker_punch/ext.rb | 2 -- lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb | 2 -- lib/datadog/tracing/contrib/sucker_punch/integration.rb | 2 -- lib/datadog/tracing/contrib/sucker_punch/patcher.rb | 2 -- lib/datadog/tracing/contrib/utils/database.rb | 2 -- lib/datadog/tracing/contrib/utils/quantization/hash.rb | 2 -- lib/datadog/tracing/contrib/utils/quantization/http.rb | 2 -- lib/datadog/tracing/correlation.rb | 2 -- lib/datadog/tracing/diagnostics/ext.rb | 2 -- lib/datadog/tracing/diagnostics/health.rb | 2 -- lib/datadog/tracing/distributed/b3_multi.rb | 1 - lib/datadog/tracing/distributed/b3_single.rb | 1 - lib/datadog/tracing/distributed/datadog.rb | 1 - lib/datadog/tracing/distributed/datadog_tags_codec.rb | 1 - lib/datadog/tracing/distributed/fetcher.rb | 1 - lib/datadog/tracing/distributed/headers/ext.rb | 1 - lib/datadog/tracing/distributed/helpers.rb | 1 - lib/datadog/tracing/distributed/none.rb | 1 - lib/datadog/tracing/distributed/propagation.rb | 1 - lib/datadog/tracing/distributed/trace_context.rb | 1 - lib/datadog/tracing/event.rb | 2 -- lib/datadog/tracing/flush.rb | 2 -- lib/datadog/tracing/metadata.rb | 2 -- lib/datadog/tracing/metadata/analytics.rb | 2 -- lib/datadog/tracing/metadata/errors.rb | 2 -- lib/datadog/tracing/metadata/ext.rb | 2 -- lib/datadog/tracing/metadata/tagging.rb | 2 -- lib/datadog/tracing/pipeline.rb | 2 -- lib/datadog/tracing/pipeline/span_filter.rb | 2 -- lib/datadog/tracing/pipeline/span_processor.rb | 2 -- lib/datadog/tracing/propagation/http.rb | 2 -- lib/datadog/tracing/runtime/metrics.rb | 2 -- lib/datadog/tracing/sampling/all_sampler.rb | 2 -- lib/datadog/tracing/sampling/ext.rb | 2 -- lib/datadog/tracing/sampling/matcher.rb | 2 -- lib/datadog/tracing/sampling/priority_sampler.rb | 2 -- lib/datadog/tracing/sampling/rate_by_key_sampler.rb | 2 -- lib/datadog/tracing/sampling/rate_by_service_sampler.rb | 2 -- lib/datadog/tracing/sampling/rate_limiter.rb | 2 -- lib/datadog/tracing/sampling/rate_sampler.rb | 2 -- lib/datadog/tracing/sampling/rule.rb | 2 -- lib/datadog/tracing/sampling/rule_sampler.rb | 2 -- lib/datadog/tracing/sampling/sampler.rb | 2 -- lib/datadog/tracing/span.rb | 2 -- lib/datadog/tracing/span_operation.rb | 2 -- lib/datadog/tracing/sync_writer.rb | 2 -- lib/datadog/tracing/trace_digest.rb | 2 -- lib/datadog/tracing/trace_operation.rb | 2 -- lib/datadog/tracing/trace_segment.rb | 2 -- lib/datadog/tracing/tracer.rb | 2 -- lib/datadog/tracing/utils.rb | 2 -- lib/datadog/tracing/workers.rb | 2 -- lib/datadog/tracing/workers/trace_writer.rb | 2 -- lib/datadog/tracing/writer.rb | 2 -- lib/ddtrace.rb | 2 -- lib/ddtrace/auto_instrument.rb | 2 -- lib/ddtrace/auto_instrument_base.rb | 2 -- lib/ddtrace/profiling/preload.rb | 2 -- lib/ddtrace/transport/ext.rb | 2 -- lib/ddtrace/transport/http.rb | 2 -- lib/ddtrace/transport/http/adapters/net.rb | 2 -- lib/ddtrace/transport/http/adapters/registry.rb | 2 -- lib/ddtrace/transport/http/adapters/test.rb | 2 -- lib/ddtrace/transport/http/adapters/unix_socket.rb | 2 -- lib/ddtrace/transport/http/api.rb | 2 -- lib/ddtrace/transport/http/api/endpoint.rb | 2 -- lib/ddtrace/transport/http/api/fallbacks.rb | 2 -- lib/ddtrace/transport/http/api/instance.rb | 2 -- lib/ddtrace/transport/http/api/map.rb | 2 -- lib/ddtrace/transport/http/api/spec.rb | 2 -- lib/ddtrace/transport/http/builder.rb | 2 -- lib/ddtrace/transport/http/client.rb | 2 -- lib/ddtrace/transport/http/env.rb | 2 -- lib/ddtrace/transport/http/response.rb | 2 -- lib/ddtrace/transport/http/statistics.rb | 2 -- lib/ddtrace/transport/http/traces.rb | 2 -- lib/ddtrace/transport/io.rb | 2 -- lib/ddtrace/transport/io/client.rb | 2 -- lib/ddtrace/transport/io/response.rb | 2 -- lib/ddtrace/transport/io/traces.rb | 2 -- lib/ddtrace/transport/parcel.rb | 2 -- lib/ddtrace/transport/request.rb | 2 -- lib/ddtrace/transport/response.rb | 2 -- lib/ddtrace/transport/serializable_trace.rb | 2 -- lib/ddtrace/transport/statistics.rb | 2 -- lib/ddtrace/transport/trace_formatter.rb | 2 -- lib/ddtrace/transport/traces.rb | 2 -- lib/ddtrace/version.rb | 2 -- spec/datadog/appsec/component_spec.rb | 2 -- spec/datadog/appsec/configuration/settings_spec.rb | 2 -- spec/datadog/appsec/contrib/rack/integration_test_spec.rb | 2 -- spec/datadog/appsec/contrib/rack/reactive/request_body_spec.rb | 1 - spec/datadog/appsec/contrib/rack/reactive/request_spec.rb | 1 - spec/datadog/appsec/contrib/rack/reactive/response_spec.rb | 1 - spec/datadog/appsec/contrib/rails/integration_test_spec.rb | 2 -- spec/datadog/appsec/contrib/rails/reactive/action_spec.rb | 2 -- spec/datadog/appsec/contrib/sinatra/integration_test_spec.rb | 2 -- spec/datadog/appsec/contrib/sinatra/reactive/routed_spec.rb | 1 - spec/datadog/appsec/contrib/support/spec_helper.rb | 2 -- spec/datadog/appsec/event_spec.rb | 2 -- spec/datadog/appsec/extensions_spec.rb | 2 -- spec/datadog/appsec/instrumentation/gateway_spec.rb | 1 - spec/datadog/appsec/monitor/reactive/set_user_spec.rb | 1 - spec/datadog/appsec/processor_spec.rb | 2 -- spec/datadog/appsec/reactive/engine_spec.rb | 1 - spec/datadog/appsec/reactive/operation_spec.rb | 1 - spec/datadog/appsec/spec_helper.rb | 2 -- spec/datadog/appsec/utils/http/media_range_spec.rb | 2 -- spec/datadog/appsec/utils/http/media_type_spec.rb | 2 -- spec/datadog/ci/configuration/components_spec.rb | 2 -- spec/datadog/ci/configuration/settings_spec.rb | 2 -- spec/datadog/ci/contrib/cucumber/formatter_spec.rb | 2 -- spec/datadog/ci/contrib/cucumber/integration_spec.rb | 2 -- spec/datadog/ci/contrib/cucumber/patcher_spec.rb | 2 -- spec/datadog/ci/contrib/rspec/instrumentation_spec.rb | 2 -- spec/datadog/ci/contrib/rspec/integration_spec.rb | 2 -- spec/datadog/ci/contrib/rspec/patcher_spec.rb | 2 -- spec/datadog/ci/contrib/rspec/some_shared_examples.rb | 2 -- spec/datadog/ci/contrib/support/mode_helpers.rb | 2 -- spec/datadog/ci/contrib/support/spec_helper.rb | 2 -- spec/datadog/ci/ext/environment_spec.rb | 2 -- spec/datadog/ci/flush_spec.rb | 2 -- spec/datadog/ci/spec_helper.rb | 2 -- spec/datadog/ci/test_spec.rb | 2 -- spec/datadog/core/buffer/cruby_spec.rb | 2 -- spec/datadog/core/buffer/random_spec.rb | 2 -- spec/datadog/core/buffer/shared_examples.rb | 2 -- spec/datadog/core/buffer/thread_safe_spec.rb | 2 -- spec/datadog/core/chunker_spec.rb | 2 -- spec/datadog/core/configuration/agent_settings_resolver_spec.rb | 2 -- spec/datadog/core/configuration/base_spec.rb | 2 -- spec/datadog/core/configuration/components_spec.rb | 2 -- spec/datadog/core/configuration/dependency_resolver_spec.rb | 2 -- spec/datadog/core/configuration/option_definition_set_spec.rb | 2 -- spec/datadog/core/configuration/option_definition_spec.rb | 2 -- spec/datadog/core/configuration/option_set_spec.rb | 2 -- spec/datadog/core/configuration/option_spec.rb | 2 -- spec/datadog/core/configuration/options_spec.rb | 2 -- spec/datadog/core/configuration/settings_spec.rb | 2 -- spec/datadog/core/configuration_spec.rb | 2 -- spec/datadog/core/diagnostics/environment_logger_spec.rb | 2 -- spec/datadog/core/encoding_spec.rb | 2 -- spec/datadog/core/environment/cgroup_spec.rb | 2 -- spec/datadog/core/environment/class_count_spec.rb | 2 -- spec/datadog/core/environment/container_spec.rb | 2 -- spec/datadog/core/environment/gc_spec.rb | 2 -- spec/datadog/core/environment/identity_spec.rb | 2 -- spec/datadog/core/environment/platform_spec.rb | 2 -- spec/datadog/core/environment/socket_spec.rb | 2 -- spec/datadog/core/environment/thread_count_spec.rb | 2 -- spec/datadog/core/environment/variable_helpers_spec.rb | 2 -- spec/datadog/core/environment/vm_cache_spec.rb | 2 -- spec/datadog/core/error_spec.rb | 2 -- spec/datadog/core/logger_spec.rb | 2 -- spec/datadog/core/metrics/client_spec.rb | 2 -- spec/datadog/core/metrics/logging_spec.rb | 2 -- spec/datadog/core/metrics/options_spec.rb | 2 -- spec/datadog/core/pin_spec.rb | 2 -- spec/datadog/core/runtime/metrics_spec.rb | 2 -- spec/datadog/core/telemetry/collector_spec.rb | 2 -- spec/datadog/core/telemetry/heartbeat_spec.rb | 2 -- spec/datadog/core/telemetry/http/adapters/net_spec.rb | 2 -- spec/datadog/core/telemetry/http/env_spec.rb | 2 -- spec/datadog/core/telemetry/http/response_spec.rb | 2 -- spec/datadog/core/telemetry/http/transport_spec.rb | 2 -- spec/datadog/core/utils/compression_spec.rb | 2 -- spec/datadog/core/utils/forking_spec.rb | 2 -- spec/datadog/core/utils/object_set_spec.rb | 2 -- spec/datadog/core/utils/only_once_spec.rb | 2 -- spec/datadog/core/utils/sequence_spec.rb | 2 -- spec/datadog/core/utils/string_table_spec.rb | 2 -- spec/datadog/core/utils/time_spec.rb | 2 -- spec/datadog/core/utils_spec.rb | 2 -- spec/datadog/core/worker_spec.rb | 2 -- spec/datadog/core/workers/async_spec.rb | 2 -- spec/datadog/core/workers/interval_loop_spec.rb | 2 -- spec/datadog/core/workers/polling_spec.rb | 2 -- spec/datadog/core/workers/queue_spec.rb | 2 -- spec/datadog/core/workers/runtime_metrics_spec.rb | 2 -- spec/datadog/core_spec.rb | 2 -- spec/datadog/integration_spec.rb | 2 -- spec/datadog/kit/appsec/events_spec.rb | 2 -- spec/datadog/kit/enable_core_dumps_spec.rb | 2 -- spec/datadog/kit/identity_spec.rb | 2 -- spec/datadog/opentelemetry_spec.rb | 2 -- spec/datadog/opentracer/binary_propagator_spec.rb | 2 -- spec/datadog/opentracer/carrier_spec.rb | 2 -- spec/datadog/opentracer/distributed_headers_spec.rb | 2 -- spec/datadog/opentracer/global_tracer_spec.rb | 2 -- spec/datadog/opentracer/propagation_integration_spec.rb | 2 -- spec/datadog/opentracer/propagator_spec.rb | 2 -- spec/datadog/opentracer/rack_propagator_spec.rb | 2 -- spec/datadog/opentracer/scope_manager_spec.rb | 2 -- spec/datadog/opentracer/scope_spec.rb | 2 -- spec/datadog/opentracer/span_context_factory_spec.rb | 2 -- spec/datadog/opentracer/span_context_spec.rb | 2 -- spec/datadog/opentracer/span_spec.rb | 2 -- spec/datadog/opentracer/text_map_propagator_spec.rb | 2 -- spec/datadog/opentracer/thread_local_scope_manager_spec.rb | 2 -- spec/datadog/opentracer/thread_local_scope_spec.rb | 2 -- spec/datadog/opentracer/tracer_integration_spec.rb | 2 -- spec/datadog/opentracer/tracer_spec.rb | 2 -- spec/datadog/profiling/backtrace_location_spec.rb | 2 -- spec/datadog/profiling/buffer_spec.rb | 2 -- spec/datadog/profiling/collectors/code_provenance_spec.rb | 2 -- spec/datadog/profiling/collectors/cpu_and_wall_time_spec.rb | 2 -- .../profiling/collectors/cpu_and_wall_time_worker_spec.rb | 2 -- spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb | 2 -- spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb | 2 -- .../profiling/collectors/interesting_backtrace_helper.rb | 2 -- spec/datadog/profiling/collectors/old_stack_spec.rb | 2 -- spec/datadog/profiling/collectors/stack_spec.rb | 2 -- spec/datadog/profiling/encoding/profile_spec.rb | 2 -- spec/datadog/profiling/event_spec.rb | 2 -- spec/datadog/profiling/events/stack_spec.rb | 2 -- spec/datadog/profiling/exporter_spec.rb | 2 -- spec/datadog/profiling/ext/forking_spec.rb | 2 -- spec/datadog/profiling/flush_spec.rb | 2 -- spec/datadog/profiling/http_transport_spec.rb | 2 -- spec/datadog/profiling/integration_spec.rb | 2 -- spec/datadog/profiling/native_extension_helpers_spec.rb | 2 -- spec/datadog/profiling/native_extension_spec.rb | 2 -- spec/datadog/profiling/old_recorder_spec.rb | 2 -- spec/datadog/profiling/pprof/builder_spec.rb | 2 -- spec/datadog/profiling/pprof/converter_spec.rb | 2 -- spec/datadog/profiling/pprof/message_set_spec.rb | 2 -- spec/datadog/profiling/pprof/payload_spec.rb | 2 -- spec/datadog/profiling/pprof/stack_sample_spec.rb | 2 -- spec/datadog/profiling/pprof/string_table_spec.rb | 2 -- spec/datadog/profiling/pprof/template_spec.rb | 2 -- spec/datadog/profiling/preload_spec.rb | 2 -- spec/datadog/profiling/profiler_spec.rb | 2 -- spec/datadog/profiling/scheduler_spec.rb | 2 -- spec/datadog/profiling/spec_helper.rb | 2 -- spec/datadog/profiling/stack_recorder_spec.rb | 2 -- spec/datadog/profiling/tag_builder_spec.rb | 2 -- spec/datadog/profiling/tasks/exec_spec.rb | 2 -- spec/datadog/profiling/tasks/help_spec.rb | 2 -- spec/datadog/profiling/tasks/setup_spec.rb | 2 -- spec/datadog/profiling/trace_identifiers/ddtrace_spec.rb | 2 -- spec/datadog/profiling/trace_identifiers/helper_spec.rb | 2 -- spec/datadog/profiling/validate_benchmarks_spec.rb | 2 -- spec/datadog/profiling_spec.rb | 2 -- spec/datadog/tracing/analytics_spec.rb | 2 -- spec/datadog/tracing/benchmark/buffer_benchmark_spec.rb | 2 -- spec/datadog/tracing/benchmark/microbenchmark_spec.rb | 2 -- spec/datadog/tracing/benchmark/support/benchmark_helper.rb | 2 -- spec/datadog/tracing/benchmark/transport_benchmark_spec.rb | 2 -- spec/datadog/tracing/buffer_spec.rb | 2 -- spec/datadog/tracing/configuration/settings_spec.rb | 2 -- spec/datadog/tracing/context_provider_spec.rb | 2 -- spec/datadog/tracing/context_spec.rb | 2 -- .../tracing/contrib/action_cable/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/action_cable/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/action_cable/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/action_mailer/helpers.rb | 2 -- spec/datadog/tracing/contrib/action_mailer/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/action_mailer/patcher_spec.rb | 2 -- .../action_pack/action_controller/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/action_pack/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/action_view/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/action_view/utils_spec.rb | 2 -- spec/datadog/tracing/contrib/active_job/integration_spec.rb | 2 -- .../datadog/tracing/contrib/active_model_serializers/helpers.rb | 2 -- .../contrib/active_model_serializers/integration_spec.rb | 2 -- .../tracing/contrib/active_model_serializers/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/app.rb | 2 -- .../contrib/active_record/configuration/resolver_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/multi_db_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/performance_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/active_record/utils_spec.rb | 2 -- spec/datadog/tracing/contrib/active_support/integration_spec.rb | 2 -- .../tracing/contrib/active_support/notifications/event_spec.rb | 2 -- .../contrib/active_support/notifications/subscriber_spec.rb | 2 -- .../contrib/active_support/notifications/subscription_spec.rb | 2 -- spec/datadog/tracing/contrib/analytics_examples.rb | 2 -- spec/datadog/tracing/contrib/analytics_spec.rb | 2 -- spec/datadog/tracing/contrib/auto_instrument_examples.rb | 2 -- spec/datadog/tracing/contrib/aws/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/aws/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/aws/parsed_context_spec.rb | 2 -- .../datadog/tracing/contrib/concurrent_ruby/integration_spec.rb | 2 -- .../tracing/contrib/concurrent_ruby/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/configurable_spec.rb | 2 -- spec/datadog/tracing/contrib/configuration/resolver_spec.rb | 2 -- .../contrib/configuration/resolvers/pattern_resolver_spec.rb | 2 -- spec/datadog/tracing/contrib/configuration/settings_spec.rb | 2 -- spec/datadog/tracing/contrib/dalli/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/dalli/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/dalli/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/dalli/quantize_spec.rb | 2 -- .../tracing/contrib/delayed_job/delayed_job_active_record.rb | 2 -- spec/datadog/tracing/contrib/delayed_job/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/delayed_job/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb | 2 -- spec/datadog/tracing/contrib/elasticsearch/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/elasticsearch/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb | 2 -- spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb | 2 -- .../tracing/contrib/environment_service_name_examples.rb | 2 -- spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb | 2 -- spec/datadog/tracing/contrib/ethon/integration_context.rb | 2 -- spec/datadog/tracing/contrib/ethon/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/ethon/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb | 2 -- spec/datadog/tracing/contrib/ethon/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/ethon/shared_examples.rb | 2 -- spec/datadog/tracing/contrib/ethon/support/thread_helpers.rb | 2 -- spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb | 2 -- spec/datadog/tracing/contrib/excon/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/excon/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/extensions_spec.rb | 2 -- spec/datadog/tracing/contrib/faraday/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/faraday/middleware_spec.rb | 2 -- spec/datadog/tracing/contrib/faraday/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/grape/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/grape/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/graphql/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/graphql/test_types.rb | 2 -- spec/datadog/tracing/contrib/graphql/tracer_spec.rb | 2 -- .../tracing/contrib/grpc/datadog_interceptor/client_spec.rb | 2 -- .../tracing/contrib/grpc/datadog_interceptor/server_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/distributed/fetcher_spec.rb | 2 -- .../tracing/contrib/grpc/distributed/propagation_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/interception_context_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/grpc/support/grpc_helper.rb | 2 -- spec/datadog/tracing/contrib/hanami/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/hanami/support/custom_matchers.rb | 2 -- .../contrib/hanami/support/dummy/controllers/books/index.rb | 2 -- .../hanami/support/dummy/controllers/books/server_error.rb | 2 -- spec/datadog/tracing/contrib/hanami/support/hanami_helpers.rb | 2 -- spec/datadog/tracing/contrib/http/circuit_breaker_spec.rb | 2 -- spec/datadog/tracing/contrib/http/distributed/fetcher_spec.rb | 2 -- .../tracing/contrib/http/distributed/propagation_spec.rb | 2 -- spec/datadog/tracing/contrib/http/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/http/miniapp_spec.rb | 2 -- spec/datadog/tracing/contrib/http/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/http/request_spec.rb | 2 -- spec/datadog/tracing/contrib/http_examples.rb | 2 -- spec/datadog/tracing/contrib/httpclient/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/httpclient/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/httprb/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/httprb/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/integration_examples.rb | 2 -- spec/datadog/tracing/contrib/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/kafka/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/kafka/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/lograge/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/lograge/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/mongodb/client_spec.rb | 2 -- spec/datadog/tracing/contrib/mongodb/integration_spec.rb | 2 -- .../tracing/contrib/mongodb/regression_issue_1235_spec.rb | 2 -- spec/datadog/tracing/contrib/mysql2/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/mysql2/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/patchable_spec.rb | 2 -- spec/datadog/tracing/contrib/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/pg/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/pg/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/presto/client_spec.rb | 2 -- spec/datadog/tracing/contrib/presto/integration_spec.rb | 2 -- .../tracing/contrib/propagation/sql_comment/comment_spec.rb | 2 -- .../tracing/contrib/propagation/sql_comment/mode_spec.rb | 2 -- spec/datadog/tracing/contrib/propagation/sql_comment_spec.rb | 2 -- spec/datadog/tracing/contrib/qless/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/qless/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/qless/support/job.rb | 2 -- spec/datadog/tracing/contrib/que/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/que/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/que/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/racecar/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/racecar/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/configuration_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/distributed_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/middlewares_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/queue_time_spec.rb | 2 -- spec/datadog/tracing/contrib/rack/resource_name_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/action_controller_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/analytics_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/cache_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/database_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/defaults_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/disable_env_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/middleware_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/rack_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb | 2 -- .../datadog/tracing/contrib/rails/rails_auto_instrument_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/rails_helper.rb | 2 -- .../tracing/contrib/rails/rails_log_auto_injection_spec.rb | 2 -- .../contrib/rails/rails_semantic_logger_auto_injection_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/railtie_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/redis_cache_spec.rb | 2 -- spec/datadog/tracing/contrib/rails/support/application.rb | 2 -- spec/datadog/tracing/contrib/rails/support/base.rb | 2 -- spec/datadog/tracing/contrib/rails/support/configuration.rb | 2 -- spec/datadog/tracing/contrib/rails/support/controllers.rb | 2 -- spec/datadog/tracing/contrib/rails/support/core_extensions.rb | 2 -- spec/datadog/tracing/contrib/rails/support/database.rb | 2 -- spec/datadog/tracing/contrib/rails/support/deprecation.rb | 2 -- spec/datadog/tracing/contrib/rails/support/middleware.rb | 2 -- spec/datadog/tracing/contrib/rails/support/models.rb | 2 -- spec/datadog/tracing/contrib/rails/support/rails3.rb | 2 -- spec/datadog/tracing/contrib/rails/support/rails4.rb | 2 -- spec/datadog/tracing/contrib/rails/support/rails5.rb | 2 -- spec/datadog/tracing/contrib/rails/support/rails6.rb | 2 -- spec/datadog/tracing/contrib/rails/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/rake/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/rake/integration_spec.rb | 2 -- .../tracing/contrib/redis/configuration/resolver_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/integration_test_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/miniapp_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/quantize_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/redis_spec.rb | 2 -- spec/datadog/tracing/contrib/redis/shared_examples.rb | 2 -- spec/datadog/tracing/contrib/registerable_spec.rb | 2 -- spec/datadog/tracing/contrib/registry_spec.rb | 2 -- spec/datadog/tracing/contrib/resque/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/resque/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/rest_client/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/rest_client/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb | 2 -- .../tracing/contrib/semantic_logger/instrumentation_spec.rb | 2 -- .../datadog/tracing/contrib/semantic_logger/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/semantic_logger/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/sequel/configuration_spec.rb | 2 -- spec/datadog/tracing/contrib/sequel/instrumentation_spec.rb | 2 -- spec/datadog/tracing/contrib/sequel/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/shoryuken/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/shoryuken/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/shoryuken/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/client_tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/disabled_tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/patcher_spec.rb | 2 -- .../contrib/sidekiq/server_internal_tracer/heartbeat_spec.rb | 2 -- .../contrib/sidekiq/server_internal_tracer/job_fetch_spec.rb | 2 -- .../contrib/sidekiq/server_internal_tracer/redis_info_spec.rb | 2 -- .../sidekiq/server_internal_tracer/scheduled_poller_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/server_tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/support/helper.rb | 2 -- spec/datadog/tracing/contrib/sidekiq/tracer_configure_spec.rb | 2 -- spec/datadog/tracing/contrib/sinatra/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/sinatra/multi_app_spec.rb | 2 -- spec/datadog/tracing/contrib/sinatra/tracer_spec.rb | 2 -- spec/datadog/tracing/contrib/sneakers/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/sneakers/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/sneakers/tracer_spec.rb | 2 -- .../datadog/tracing/contrib/sql_comment_propagation_examples.rb | 2 -- spec/datadog/tracing/contrib/stripe/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/stripe/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/stripe/request_spec.rb | 2 -- spec/datadog/tracing/contrib/sucker_punch/integration_spec.rb | 2 -- spec/datadog/tracing/contrib/sucker_punch/patcher_spec.rb | 2 -- spec/datadog/tracing/contrib/suite/transport_spec.rb | 2 -- spec/datadog/tracing/contrib/support/matchers.rb | 2 -- spec/datadog/tracing/contrib/support/resolver_helpers.rb | 2 -- spec/datadog/tracing/contrib/support/spec_helper.rb | 2 -- spec/datadog/tracing/contrib/support/tracer_helpers.rb | 2 -- spec/datadog/tracing/contrib/utils/database_spec.rb | 2 -- spec/datadog/tracing/contrib/utils/quantization/hash_spec.rb | 2 -- spec/datadog/tracing/contrib/utils/quantization/http_spec.rb | 2 -- spec/datadog/tracing/correlation_spec.rb | 2 -- spec/datadog/tracing/diagnostics/health_spec.rb | 2 -- spec/datadog/tracing/distributed/b3_multi_spec.rb | 2 -- spec/datadog/tracing/distributed/b3_single_spec.rb | 2 -- spec/datadog/tracing/distributed/datadog_spec.rb | 2 -- spec/datadog/tracing/distributed/datadog_tags_codec_spec.rb | 2 -- spec/datadog/tracing/distributed/fetcher_spec.rb | 2 -- spec/datadog/tracing/distributed/helpers_spec.rb | 2 -- spec/datadog/tracing/distributed/none_spec.rb | 2 -- spec/datadog/tracing/distributed/propagation_spec.rb | 2 -- spec/datadog/tracing/distributed/trace_context_spec.rb | 2 -- spec/datadog/tracing/event_spec.rb | 2 -- spec/datadog/tracing/flush_spec.rb | 2 -- spec/datadog/tracing/integration_spec.rb | 2 -- spec/datadog/tracing/metadata/analytics_spec.rb | 2 -- spec/datadog/tracing/metadata/errors_spec.rb | 2 -- spec/datadog/tracing/metadata/ext_spec.rb | 2 -- spec/datadog/tracing/metadata/tagging_spec.rb | 2 -- spec/datadog/tracing/metadata_spec.rb | 2 -- spec/datadog/tracing/pipeline/span_filter_spec.rb | 2 -- spec/datadog/tracing/pipeline/span_processor_spec.rb | 2 -- spec/datadog/tracing/pipeline/support/helper.rb | 2 -- spec/datadog/tracing/pipeline_spec.rb | 2 -- spec/datadog/tracing/runtime/metrics_spec.rb | 2 -- spec/datadog/tracing/sampling/all_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/matcher_spec.rb | 2 -- spec/datadog/tracing/sampling/priority_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/rate_by_key_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/rate_by_service_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/rate_limiter_spec.rb | 2 -- spec/datadog/tracing/sampling/rate_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/rule_sampler_spec.rb | 2 -- spec/datadog/tracing/sampling/rule_spec.rb | 2 -- spec/datadog/tracing/sampling/shared_examples.rb | 2 -- spec/datadog/tracing/span_operation_spec.rb | 2 -- spec/datadog/tracing/span_spec.rb | 2 -- spec/datadog/tracing/sync_writer_spec.rb | 2 -- spec/datadog/tracing/trace_digest_spec.rb | 2 -- spec/datadog/tracing/trace_operation_spec.rb | 2 -- spec/datadog/tracing/trace_segment_spec.rb | 2 -- spec/datadog/tracing/tracer_integration_spec.rb | 2 -- spec/datadog/tracing/tracer_spec.rb | 2 -- spec/datadog/tracing/utils_spec.rb | 2 -- spec/datadog/tracing/workers/trace_writer_spec.rb | 2 -- spec/datadog/tracing/workers_integration_spec.rb | 2 -- spec/datadog/tracing/workers_spec.rb | 2 -- spec/datadog/tracing/writer_spec.rb | 2 -- spec/datadog/tracing_spec.rb | 2 -- spec/ddtrace/auto_instrument_spec.rb | 2 -- spec/ddtrace/benchmark/gem_loading_spec.rb | 2 -- spec/ddtrace/benchmark/pg_contrib_spec.rb | 2 -- spec/ddtrace/benchmark/sql_comment_propagation_spec.rb | 2 -- spec/ddtrace/benchmark/telemetry_spec.rb | 2 -- spec/ddtrace/transport/http/adapters/net_integration_spec.rb | 2 -- spec/ddtrace/transport/http/adapters/net_spec.rb | 2 -- spec/ddtrace/transport/http/adapters/registry_spec.rb | 2 -- spec/ddtrace/transport/http/adapters/test_spec.rb | 2 -- .../transport/http/adapters/unix_socket_integration_spec.rb | 2 -- spec/ddtrace/transport/http/adapters/unix_socket_spec.rb | 2 -- spec/ddtrace/transport/http/api/endpoint_spec.rb | 2 -- spec/ddtrace/transport/http/api/fallbacks_spec.rb | 2 -- spec/ddtrace/transport/http/api/instance_spec.rb | 2 -- spec/ddtrace/transport/http/api/map_spec.rb | 2 -- spec/ddtrace/transport/http/api/spec_spec.rb | 2 -- spec/ddtrace/transport/http/api_spec.rb | 2 -- spec/ddtrace/transport/http/benchmark_spec.rb | 2 -- spec/ddtrace/transport/http/builder_spec.rb | 2 -- spec/ddtrace/transport/http/client_spec.rb | 2 -- spec/ddtrace/transport/http/env_spec.rb | 2 -- spec/ddtrace/transport/http/integration_spec.rb | 2 -- spec/ddtrace/transport/http/response_spec.rb | 2 -- spec/ddtrace/transport/http/statistics_spec.rb | 2 -- spec/ddtrace/transport/http/traces_spec.rb | 2 -- spec/ddtrace/transport/http_spec.rb | 2 -- spec/ddtrace/transport/io/client_spec.rb | 2 -- spec/ddtrace/transport/io/response_spec.rb | 2 -- spec/ddtrace/transport/io/traces_spec.rb | 2 -- spec/ddtrace/transport/io_spec.rb | 2 -- spec/ddtrace/transport/parcel_spec.rb | 2 -- spec/ddtrace/transport/request_spec.rb | 2 -- spec/ddtrace/transport/response_spec.rb | 2 -- spec/ddtrace/transport/serializable_trace_spec.rb | 2 -- spec/ddtrace/transport/statistics_spec.rb | 2 -- spec/ddtrace/transport/trace_formatter_spec.rb | 2 -- spec/ddtrace/transport/traces_spec.rb | 2 -- spec/spec_helper.rb | 2 -- spec/support/configuration_helpers.rb | 2 -- spec/support/container_helpers.rb | 2 -- spec/support/core_helpers.rb | 2 -- spec/support/faux_transport.rb | 2 -- spec/support/faux_writer.rb | 2 -- spec/support/health_metric_helpers.rb | 2 -- spec/support/http_helpers.rb | 2 -- spec/support/log_helpers.rb | 2 -- spec/support/metric_helpers.rb | 2 -- spec/support/network_helpers.rb | 2 -- spec/support/object_helpers.rb | 2 -- spec/support/object_space_helper.rb | 2 -- spec/support/platform_helpers.rb | 2 -- spec/support/rails_active_record_helpers.rb | 2 -- spec/support/span_helpers.rb | 2 -- spec/support/spy_transport.rb | 2 -- spec/support/statsd_helpers.rb | 2 -- spec/support/synchronization_helpers.rb | 2 -- spec/support/test_access_patch.rb | 2 -- spec/support/test_helpers.rb | 2 -- spec/support/thread_helpers.rb | 2 -- spec/support/tracer_helpers.rb | 2 -- 1158 files changed, 2265 deletions(-) diff --git a/benchmarks/dogstatsd_reporter.rb b/benchmarks/dogstatsd_reporter.rb index 8efa89329e2..8bd48d743a4 100644 --- a/benchmarks/dogstatsd_reporter.rb +++ b/benchmarks/dogstatsd_reporter.rb @@ -1,5 +1,3 @@ -# typed: false - require 'ddtrace' require 'datadog/statsd' require 'benchmark/ips' diff --git a/benchmarks/profiler_http_transport.rb b/benchmarks/profiler_http_transport.rb index 1cbd82fc33a..ab623e479c0 100644 --- a/benchmarks/profiler_http_transport.rb +++ b/benchmarks/profiler_http_transport.rb @@ -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' diff --git a/benchmarks/profiler_sample_loop.rb b/benchmarks/profiler_sample_loop.rb index 32491cae5f0..b0435ede734 100644 --- a/benchmarks/profiler_sample_loop.rb +++ b/benchmarks/profiler_sample_loop.rb @@ -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' diff --git a/benchmarks/profiler_sample_loop_v2.rb b/benchmarks/profiler_sample_loop_v2.rb index 39c9d37d569..3056ebf3801 100644 --- a/benchmarks/profiler_sample_loop_v2.rb +++ b/benchmarks/profiler_sample_loop_v2.rb @@ -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' diff --git a/benchmarks/profiler_submission.rb b/benchmarks/profiler_submission.rb index 62684d58e10..eed8f70b5f7 100644 --- a/benchmarks/profiler_submission.rb +++ b/benchmarks/profiler_submission.rb @@ -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' diff --git a/benchmarks/sidekiq_test.rb b/benchmarks/sidekiq_test.rb index b2e3626c5fb..6b4c2a9c505 100644 --- a/benchmarks/sidekiq_test.rb +++ b/benchmarks/sidekiq_test.rb @@ -1,5 +1,3 @@ -# typed: ignore - ENV['RAILS_ENV'] = 'production' require 'English' diff --git a/ext/ddtrace_profiling_loader/extconf.rb b/ext/ddtrace_profiling_loader/extconf.rb index c451857805c..c94f2433924 100644 --- a/ext/ddtrace_profiling_loader/extconf.rb +++ b/ext/ddtrace_profiling_loader/extconf.rb @@ -1,5 +1,3 @@ -# typed: ignore - # rubocop:disable Style/StderrPuts # rubocop:disable Style/GlobalVars diff --git a/ext/ddtrace_profiling_native_extension/extconf.rb b/ext/ddtrace_profiling_native_extension/extconf.rb index 99b72c55cc6..de2a261d7b5 100644 --- a/ext/ddtrace_profiling_native_extension/extconf.rb +++ b/ext/ddtrace_profiling_native_extension/extconf.rb @@ -1,5 +1,3 @@ -# typed: ignore - # rubocop:disable Style/StderrPuts # rubocop:disable Style/GlobalVars diff --git a/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb b/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb index e1d47b1198b..b039d7bcf06 100644 --- a/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb +++ b/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: ignore - require 'rubygems' require 'pathname' diff --git a/lib/datadog/appsec.rb b/lib/datadog/appsec.rb index e9c75d96298..954d7e3c8d0 100644 --- a/lib/datadog/appsec.rb +++ b/lib/datadog/appsec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'appsec/configuration' require_relative 'appsec/extensions' diff --git a/lib/datadog/appsec/assets.rb b/lib/datadog/appsec/assets.rb index 7069ffcd3c4..31b88fc3ecc 100644 --- a/lib/datadog/appsec/assets.rb +++ b/lib/datadog/appsec/assets.rb @@ -1,5 +1,3 @@ -# typed: false - require 'pathname' module Datadog diff --git a/lib/datadog/appsec/autoload.rb b/lib/datadog/appsec/autoload.rb index 0b73cffaaef..584ac597100 100644 --- a/lib/datadog/appsec/autoload.rb +++ b/lib/datadog/appsec/autoload.rb @@ -1,5 +1,3 @@ -# typed: ignore - if %w[1 true].include?((ENV['DD_APPSEC_ENABLED'] || '').downcase) begin require_relative 'contrib/auto_instrument' diff --git a/lib/datadog/appsec/component.rb b/lib/datadog/appsec/component.rb index 887285c552b..29ff10bd9dc 100644 --- a/lib/datadog/appsec/component.rb +++ b/lib/datadog/appsec/component.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true require_relative 'processor' diff --git a/lib/datadog/appsec/configuration.rb b/lib/datadog/appsec/configuration.rb index 36916c2f902..fcd0e866dee 100644 --- a/lib/datadog/appsec/configuration.rb +++ b/lib/datadog/appsec/configuration.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'configuration/settings' module Datadog diff --git a/lib/datadog/appsec/configuration/settings.rb b/lib/datadog/appsec/configuration/settings.rb index 984bef6f06f..a14a879e1c6 100644 --- a/lib/datadog/appsec/configuration/settings.rb +++ b/lib/datadog/appsec/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Configuration diff --git a/lib/datadog/appsec/contrib/auto_instrument.rb b/lib/datadog/appsec/contrib/auto_instrument.rb index 8814b19fc24..7e943fde6fe 100644 --- a/lib/datadog/appsec/contrib/auto_instrument.rb +++ b/lib/datadog/appsec/contrib/auto_instrument.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/configuration/settings.rb b/lib/datadog/appsec/contrib/configuration/settings.rb index 9cd6b885f28..849977fd663 100644 --- a/lib/datadog/appsec/contrib/configuration/settings.rb +++ b/lib/datadog/appsec/contrib/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../core/configuration/base' module Datadog diff --git a/lib/datadog/appsec/contrib/integration.rb b/lib/datadog/appsec/contrib/integration.rb index f9c8c35a0c0..5c52b917508 100644 --- a/lib/datadog/appsec/contrib/integration.rb +++ b/lib/datadog/appsec/contrib/integration.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/patcher.rb b/lib/datadog/appsec/contrib/patcher.rb index ba1ebe9eccd..795a9669f26 100644 --- a/lib/datadog/appsec/contrib/patcher.rb +++ b/lib/datadog/appsec/contrib/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rack/configuration/settings.rb b/lib/datadog/appsec/contrib/rack/configuration/settings.rb index c30c6198847..573226674a7 100644 --- a/lib/datadog/appsec/contrib/rack/configuration/settings.rb +++ b/lib/datadog/appsec/contrib/rack/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/appsec/contrib/rack/ext.rb b/lib/datadog/appsec/contrib/rack/ext.rb index 9c517e1ab2e..d1e7680b0fb 100644 --- a/lib/datadog/appsec/contrib/rack/ext.rb +++ b/lib/datadog/appsec/contrib/rack/ext.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rack/gateway/watcher.rb b/lib/datadog/appsec/contrib/rack/gateway/watcher.rb index 0c7ecab7c60..e870ce35393 100644 --- a/lib/datadog/appsec/contrib/rack/gateway/watcher.rb +++ b/lib/datadog/appsec/contrib/rack/gateway/watcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../instrumentation/gateway' require_relative '../../../reactive/operation' require_relative '../reactive/request' diff --git a/lib/datadog/appsec/contrib/rack/integration.rb b/lib/datadog/appsec/contrib/rack/integration.rb index 68e9c398e27..14475e24a4f 100644 --- a/lib/datadog/appsec/contrib/rack/integration.rb +++ b/lib/datadog/appsec/contrib/rack/integration.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../integration' require_relative 'configuration/settings' diff --git a/lib/datadog/appsec/contrib/rack/patcher.rb b/lib/datadog/appsec/contrib/rack/patcher.rb index d439d53973b..9027d04c435 100644 --- a/lib/datadog/appsec/contrib/rack/patcher.rb +++ b/lib/datadog/appsec/contrib/rack/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../patcher' require_relative '../../monitor' require_relative 'gateway/watcher' diff --git a/lib/datadog/appsec/contrib/rack/reactive/request.rb b/lib/datadog/appsec/contrib/rack/reactive/request.rb index 3fff3fb5d7c..0633e77a93a 100644 --- a/lib/datadog/appsec/contrib/rack/reactive/request.rb +++ b/lib/datadog/appsec/contrib/rack/reactive/request.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative '../request' diff --git a/lib/datadog/appsec/contrib/rack/reactive/request_body.rb b/lib/datadog/appsec/contrib/rack/reactive/request_body.rb index c7abffac952..c8872354f41 100644 --- a/lib/datadog/appsec/contrib/rack/reactive/request_body.rb +++ b/lib/datadog/appsec/contrib/rack/reactive/request_body.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative '../request' diff --git a/lib/datadog/appsec/contrib/rack/reactive/response.rb b/lib/datadog/appsec/contrib/rack/reactive/response.rb index 718bb62d2cf..46566567f0b 100644 --- a/lib/datadog/appsec/contrib/rack/reactive/response.rb +++ b/lib/datadog/appsec/contrib/rack/reactive/response.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative '../response' diff --git a/lib/datadog/appsec/contrib/rack/request.rb b/lib/datadog/appsec/contrib/rack/request.rb index 853c2a5da91..99d42bbf978 100644 --- a/lib/datadog/appsec/contrib/rack/request.rb +++ b/lib/datadog/appsec/contrib/rack/request.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../tracing/client_ip' require_relative '../../../tracing/contrib/rack/header_collection' diff --git a/lib/datadog/appsec/contrib/rack/request_body_middleware.rb b/lib/datadog/appsec/contrib/rack/request_body_middleware.rb index e2d5f0965cf..aa7a15e6cf2 100644 --- a/lib/datadog/appsec/contrib/rack/request_body_middleware.rb +++ b/lib/datadog/appsec/contrib/rack/request_body_middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../instrumentation/gateway' require_relative '../../response' diff --git a/lib/datadog/appsec/contrib/rack/request_middleware.rb b/lib/datadog/appsec/contrib/rack/request_middleware.rb index 96f4a8d64f2..16a9e257169 100644 --- a/lib/datadog/appsec/contrib/rack/request_middleware.rb +++ b/lib/datadog/appsec/contrib/rack/request_middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'json' require_relative '../../ext' diff --git a/lib/datadog/appsec/contrib/rack/response.rb b/lib/datadog/appsec/contrib/rack/response.rb index 7154f9f74b4..9df6af65bcd 100644 --- a/lib/datadog/appsec/contrib/rack/response.rb +++ b/lib/datadog/appsec/contrib/rack/response.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rails/configuration/settings.rb b/lib/datadog/appsec/contrib/rails/configuration/settings.rb index 6ae75a3a795..7f8cc0ca8b4 100644 --- a/lib/datadog/appsec/contrib/rails/configuration/settings.rb +++ b/lib/datadog/appsec/contrib/rails/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/appsec/contrib/rails/ext.rb b/lib/datadog/appsec/contrib/rails/ext.rb index bfc27916675..d0f5b1457d7 100644 --- a/lib/datadog/appsec/contrib/rails/ext.rb +++ b/lib/datadog/appsec/contrib/rails/ext.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rails/framework.rb b/lib/datadog/appsec/contrib/rails/framework.rb index 7f509937468..952c8e4308b 100644 --- a/lib/datadog/appsec/contrib/rails/framework.rb +++ b/lib/datadog/appsec/contrib/rails/framework.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rails/gateway/watcher.rb b/lib/datadog/appsec/contrib/rails/gateway/watcher.rb index 7248a70bb58..fbbc2e1cca7 100644 --- a/lib/datadog/appsec/contrib/rails/gateway/watcher.rb +++ b/lib/datadog/appsec/contrib/rails/gateway/watcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../instrumentation/gateway' require_relative '../../../reactive/operation' require_relative '../reactive/action' diff --git a/lib/datadog/appsec/contrib/rails/integration.rb b/lib/datadog/appsec/contrib/rails/integration.rb index f60163c9b4c..7a0910390c4 100644 --- a/lib/datadog/appsec/contrib/rails/integration.rb +++ b/lib/datadog/appsec/contrib/rails/integration.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../integration' require_relative 'configuration/settings' diff --git a/lib/datadog/appsec/contrib/rails/patcher.rb b/lib/datadog/appsec/contrib/rails/patcher.rb index 9f4e524039b..406ad0b3c28 100644 --- a/lib/datadog/appsec/contrib/rails/patcher.rb +++ b/lib/datadog/appsec/contrib/rails/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../core/utils/only_once' require_relative '../patcher' diff --git a/lib/datadog/appsec/contrib/rails/reactive/action.rb b/lib/datadog/appsec/contrib/rails/reactive/action.rb index 7a14b7ae5e1..2f5f73e4632 100644 --- a/lib/datadog/appsec/contrib/rails/reactive/action.rb +++ b/lib/datadog/appsec/contrib/rails/reactive/action.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative '../request' diff --git a/lib/datadog/appsec/contrib/rails/request.rb b/lib/datadog/appsec/contrib/rails/request.rb index e1a33b4b892..da9ebe02259 100644 --- a/lib/datadog/appsec/contrib/rails/request.rb +++ b/lib/datadog/appsec/contrib/rails/request.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/rails/request_middleware.rb b/lib/datadog/appsec/contrib/rails/request_middleware.rb index a406cecd8fd..89632d20393 100644 --- a/lib/datadog/appsec/contrib/rails/request_middleware.rb +++ b/lib/datadog/appsec/contrib/rails/request_middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb b/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb index 29c033b3e26..454ad2d30c7 100644 --- a/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb +++ b/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/appsec/contrib/sinatra/ext.rb b/lib/datadog/appsec/contrib/sinatra/ext.rb index b4cd93912c9..4b96486a7b3 100644 --- a/lib/datadog/appsec/contrib/sinatra/ext.rb +++ b/lib/datadog/appsec/contrib/sinatra/ext.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/sinatra/framework.rb b/lib/datadog/appsec/contrib/sinatra/framework.rb index a24f9d430eb..5b963274d7b 100644 --- a/lib/datadog/appsec/contrib/sinatra/framework.rb +++ b/lib/datadog/appsec/contrib/sinatra/framework.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb b/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb index eb8266373f8..00de01232d0 100644 --- a/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb +++ b/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../instrumentation/gateway' require_relative '../../../reactive/operation' require_relative '../../rack/reactive/request_body' diff --git a/lib/datadog/appsec/contrib/sinatra/integration.rb b/lib/datadog/appsec/contrib/sinatra/integration.rb index 5872c1b53e1..20f7062013b 100644 --- a/lib/datadog/appsec/contrib/sinatra/integration.rb +++ b/lib/datadog/appsec/contrib/sinatra/integration.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../integration' require_relative 'configuration/settings' diff --git a/lib/datadog/appsec/contrib/sinatra/patcher.rb b/lib/datadog/appsec/contrib/sinatra/patcher.rb index 8259b1298c2..4683c681f95 100644 --- a/lib/datadog/appsec/contrib/sinatra/patcher.rb +++ b/lib/datadog/appsec/contrib/sinatra/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../tracing/contrib/rack/middlewares' require_relative '../patcher' diff --git a/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb b/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb index d4401090615..82eb80657b9 100644 --- a/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb +++ b/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/contrib/sinatra/request_middleware.rb b/lib/datadog/appsec/contrib/sinatra/request_middleware.rb index ac27b7fabc8..cc364298b80 100644 --- a/lib/datadog/appsec/contrib/sinatra/request_middleware.rb +++ b/lib/datadog/appsec/contrib/sinatra/request_middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Contrib diff --git a/lib/datadog/appsec/event.rb b/lib/datadog/appsec/event.rb index 2d770231435..241e2bf81ae 100644 --- a/lib/datadog/appsec/event.rb +++ b/lib/datadog/appsec/event.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'json' require_relative 'contrib/rack/request' diff --git a/lib/datadog/appsec/ext.rb b/lib/datadog/appsec/ext.rb index 4fd1467b6ae..559bc17526b 100644 --- a/lib/datadog/appsec/ext.rb +++ b/lib/datadog/appsec/ext.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/extensions.rb b/lib/datadog/appsec/extensions.rb index eb5e981075c..7496a00f7e7 100644 --- a/lib/datadog/appsec/extensions.rb +++ b/lib/datadog/appsec/extensions.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'configuration' module Datadog diff --git a/lib/datadog/appsec/instrumentation/gateway.rb b/lib/datadog/appsec/instrumentation/gateway.rb index 14872806bc6..321fbf7b5f7 100644 --- a/lib/datadog/appsec/instrumentation/gateway.rb +++ b/lib/datadog/appsec/instrumentation/gateway.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/monitor.rb b/lib/datadog/appsec/monitor.rb index f02c188a77d..3d26849cb08 100644 --- a/lib/datadog/appsec/monitor.rb +++ b/lib/datadog/appsec/monitor.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true require_relative 'monitor/gateway/watcher' diff --git a/lib/datadog/appsec/monitor/gateway/watcher.rb b/lib/datadog/appsec/monitor/gateway/watcher.rb index 99f1bdf9a7f..5ad98189ac8 100644 --- a/lib/datadog/appsec/monitor/gateway/watcher.rb +++ b/lib/datadog/appsec/monitor/gateway/watcher.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true require_relative '../../ext' diff --git a/lib/datadog/appsec/monitor/reactive/set_user.rb b/lib/datadog/appsec/monitor/reactive/set_user.rb index 50daa496c50..3c5f577e634 100644 --- a/lib/datadog/appsec/monitor/reactive/set_user.rb +++ b/lib/datadog/appsec/monitor/reactive/set_user.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/processor.rb b/lib/datadog/appsec/processor.rb index 1d868ca312c..49595929193 100644 --- a/lib/datadog/appsec/processor.rb +++ b/lib/datadog/appsec/processor.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'assets' module Datadog diff --git a/lib/datadog/appsec/rate_limiter.rb b/lib/datadog/appsec/rate_limiter.rb index 189fdcd224b..9b25da9191e 100644 --- a/lib/datadog/appsec/rate_limiter.rb +++ b/lib/datadog/appsec/rate_limiter.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec # Simple per-thread rate limiter diff --git a/lib/datadog/appsec/reactive/address_hash.rb b/lib/datadog/appsec/reactive/address_hash.rb index 68df57d483d..7bda390c3b0 100644 --- a/lib/datadog/appsec/reactive/address_hash.rb +++ b/lib/datadog/appsec/reactive/address_hash.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/reactive/engine.rb b/lib/datadog/appsec/reactive/engine.rb index bf4fa9d2bb6..92cfc9ecbf0 100644 --- a/lib/datadog/appsec/reactive/engine.rb +++ b/lib/datadog/appsec/reactive/engine.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative 'address_hash' diff --git a/lib/datadog/appsec/reactive/operation.rb b/lib/datadog/appsec/reactive/operation.rb index a574486b8a1..f7696cdbcec 100644 --- a/lib/datadog/appsec/reactive/operation.rb +++ b/lib/datadog/appsec/reactive/operation.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require_relative 'engine' diff --git a/lib/datadog/appsec/reactive/subscriber.rb b/lib/datadog/appsec/reactive/subscriber.rb index a2ba4159f10..e267ab95d76 100644 --- a/lib/datadog/appsec/reactive/subscriber.rb +++ b/lib/datadog/appsec/reactive/subscriber.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true module Datadog diff --git a/lib/datadog/appsec/response.rb b/lib/datadog/appsec/response.rb index dd5cd4ed610..24cdc1f36b2 100644 --- a/lib/datadog/appsec/response.rb +++ b/lib/datadog/appsec/response.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'assets' require_relative 'utils/http/media_range' diff --git a/lib/datadog/appsec/utils/http/media_range.rb b/lib/datadog/appsec/utils/http/media_range.rb index b58e672d4d9..073a71bc2fa 100644 --- a/lib/datadog/appsec/utils/http/media_range.rb +++ b/lib/datadog/appsec/utils/http/media_range.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'media_type' module Datadog diff --git a/lib/datadog/appsec/utils/http/media_type.rb b/lib/datadog/appsec/utils/http/media_type.rb index 40953915487..5c94be0b561 100644 --- a/lib/datadog/appsec/utils/http/media_type.rb +++ b/lib/datadog/appsec/utils/http/media_type.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module AppSec module Utils diff --git a/lib/datadog/ci.rb b/lib/datadog/ci.rb index 4271c2b56f2..0424176e07e 100644 --- a/lib/datadog/ci.rb +++ b/lib/datadog/ci.rb @@ -1,5 +1,3 @@ -# typed: strict - require_relative 'core' require_relative 'tracing' require_relative 'tracing/contrib' diff --git a/lib/datadog/ci/configuration/components.rb b/lib/datadog/ci/configuration/components.rb index 74bf71e3764..1d6b095bf55 100644 --- a/lib/datadog/ci/configuration/components.rb +++ b/lib/datadog/ci/configuration/components.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../flush' module Datadog diff --git a/lib/datadog/ci/configuration/settings.rb b/lib/datadog/ci/configuration/settings.rb index 29eb369fc41..406daff1582 100644 --- a/lib/datadog/ci/configuration/settings.rb +++ b/lib/datadog/ci/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../ext/settings' module Datadog diff --git a/lib/datadog/ci/contrib/cucumber/configuration/settings.rb b/lib/datadog/ci/contrib/cucumber/configuration/settings.rb index 77573e3ec30..b99c0569dc2 100644 --- a/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +++ b/lib/datadog/ci/contrib/cucumber/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing/contrib/configuration/settings' require_relative '../ext' diff --git a/lib/datadog/ci/contrib/cucumber/ext.rb b/lib/datadog/ci/contrib/cucumber/ext.rb index cf893420c4c..eff7333cb6a 100644 --- a/lib/datadog/ci/contrib/cucumber/ext.rb +++ b/lib/datadog/ci/contrib/cucumber/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module CI module Contrib diff --git a/lib/datadog/ci/contrib/cucumber/formatter.rb b/lib/datadog/ci/contrib/cucumber/formatter.rb index d7d60556a74..12fe572a0bd 100644 --- a/lib/datadog/ci/contrib/cucumber/formatter.rb +++ b/lib/datadog/ci/contrib/cucumber/formatter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../test' require_relative '../../ext/app_types' require_relative '../../ext/environment' diff --git a/lib/datadog/ci/contrib/cucumber/instrumentation.rb b/lib/datadog/ci/contrib/cucumber/instrumentation.rb index 3d96e784e4a..30f38a23c98 100644 --- a/lib/datadog/ci/contrib/cucumber/instrumentation.rb +++ b/lib/datadog/ci/contrib/cucumber/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'formatter' module Datadog diff --git a/lib/datadog/ci/contrib/cucumber/integration.rb b/lib/datadog/ci/contrib/cucumber/integration.rb index 8bf515ab59e..177f6760134 100644 --- a/lib/datadog/ci/contrib/cucumber/integration.rb +++ b/lib/datadog/ci/contrib/cucumber/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../tracing/contrib/integration' require_relative 'configuration/settings' diff --git a/lib/datadog/ci/contrib/cucumber/patcher.rb b/lib/datadog/ci/contrib/cucumber/patcher.rb index a3a1690b7f3..021af7caa6e 100644 --- a/lib/datadog/ci/contrib/cucumber/patcher.rb +++ b/lib/datadog/ci/contrib/cucumber/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../tracing/contrib/patcher' require_relative 'instrumentation' diff --git a/lib/datadog/ci/contrib/rspec/configuration/settings.rb b/lib/datadog/ci/contrib/rspec/configuration/settings.rb index 4df32d1b200..4258918441f 100644 --- a/lib/datadog/ci/contrib/rspec/configuration/settings.rb +++ b/lib/datadog/ci/contrib/rspec/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing/contrib/configuration/settings' require_relative '../ext' diff --git a/lib/datadog/ci/contrib/rspec/example.rb b/lib/datadog/ci/contrib/rspec/example.rb index 8ced610323e..c8c85190319 100644 --- a/lib/datadog/ci/contrib/rspec/example.rb +++ b/lib/datadog/ci/contrib/rspec/example.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../test' require_relative '../../ext/app_types' diff --git a/lib/datadog/ci/contrib/rspec/ext.rb b/lib/datadog/ci/contrib/rspec/ext.rb index 0e3534736d2..5f81b030839 100644 --- a/lib/datadog/ci/contrib/rspec/ext.rb +++ b/lib/datadog/ci/contrib/rspec/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module CI module Contrib diff --git a/lib/datadog/ci/contrib/rspec/integration.rb b/lib/datadog/ci/contrib/rspec/integration.rb index 40efd116512..1bc22be927f 100644 --- a/lib/datadog/ci/contrib/rspec/integration.rb +++ b/lib/datadog/ci/contrib/rspec/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../tracing/contrib/integration' require_relative 'configuration/settings' diff --git a/lib/datadog/ci/contrib/rspec/patcher.rb b/lib/datadog/ci/contrib/rspec/patcher.rb index 191c082c255..f3823041539 100644 --- a/lib/datadog/ci/contrib/rspec/patcher.rb +++ b/lib/datadog/ci/contrib/rspec/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../tracing/contrib/patcher' require_relative 'example' diff --git a/lib/datadog/ci/ext/app_types.rb b/lib/datadog/ci/ext/app_types.rb index 8b5cd1fef30..2e176640ebb 100644 --- a/lib/datadog/ci/ext/app_types.rb +++ b/lib/datadog/ci/ext/app_types.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module CI module Ext diff --git a/lib/datadog/ci/ext/environment.rb b/lib/datadog/ci/ext/environment.rb index 7a1c1606ee3..edd73d3a147 100644 --- a/lib/datadog/ci/ext/environment.rb +++ b/lib/datadog/ci/ext/environment.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../../core/git/ext' require 'open3' diff --git a/lib/datadog/ci/ext/settings.rb b/lib/datadog/ci/ext/settings.rb index 8c50d71124d..1cb4fcdf73b 100644 --- a/lib/datadog/ci/ext/settings.rb +++ b/lib/datadog/ci/ext/settings.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module CI module Ext diff --git a/lib/datadog/ci/ext/test.rb b/lib/datadog/ci/ext/test.rb index ca9fdfdf8bf..c1075e99f63 100644 --- a/lib/datadog/ci/ext/test.rb +++ b/lib/datadog/ci/ext/test.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module CI module Ext diff --git a/lib/datadog/ci/extensions.rb b/lib/datadog/ci/extensions.rb index dd0edd869ba..fc0f74d7301 100644 --- a/lib/datadog/ci/extensions.rb +++ b/lib/datadog/ci/extensions.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/configuration/settings' require_relative '../core/configuration/components' diff --git a/lib/datadog/ci/flush.rb b/lib/datadog/ci/flush.rb index bdefa570310..4752eb87046 100644 --- a/lib/datadog/ci/flush.rb +++ b/lib/datadog/ci/flush.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../tracing/metadata/ext' require_relative '../tracing/flush' diff --git a/lib/datadog/ci/test.rb b/lib/datadog/ci/test.rb index f500b53f493..6ca5a44af6b 100644 --- a/lib/datadog/ci/test.rb +++ b/lib/datadog/ci/test.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../tracing/contrib/analytics' require_relative 'ext/app_types' diff --git a/lib/datadog/core.rb b/lib/datadog/core.rb index 0e41336a2b2..2f56cb785a7 100644 --- a/lib/datadog/core.rb +++ b/lib/datadog/core.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'core/extensions' diff --git a/lib/datadog/core/buffer/cruby.rb b/lib/datadog/core/buffer/cruby.rb index 51d506b95ec..2fc61bf66e4 100644 --- a/lib/datadog/core/buffer/cruby.rb +++ b/lib/datadog/core/buffer/cruby.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'random' module Datadog diff --git a/lib/datadog/core/buffer/random.rb b/lib/datadog/core/buffer/random.rb index 5bc96278df7..f33dae02b69 100644 --- a/lib/datadog/core/buffer/random.rb +++ b/lib/datadog/core/buffer/random.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Buffer diff --git a/lib/datadog/core/buffer/thread_safe.rb b/lib/datadog/core/buffer/thread_safe.rb index a225af63993..60f3e83744c 100644 --- a/lib/datadog/core/buffer/thread_safe.rb +++ b/lib/datadog/core/buffer/thread_safe.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'random' module Datadog diff --git a/lib/datadog/core/chunker.rb b/lib/datadog/core/chunker.rb index 9636c45e4bc..bf9606b900c 100644 --- a/lib/datadog/core/chunker.rb +++ b/lib/datadog/core/chunker.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core # Chunks list of elements into batches diff --git a/lib/datadog/core/configuration.rb b/lib/datadog/core/configuration.rb index 88c28e65700..a08e40ae6a2 100644 --- a/lib/datadog/core/configuration.rb +++ b/lib/datadog/core/configuration.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'configuration/components' require_relative 'configuration/settings' require_relative 'telemetry/emitter' diff --git a/lib/datadog/core/configuration/agent_settings_resolver.rb b/lib/datadog/core/configuration/agent_settings_resolver.rb index 12eafc5326d..f28bd19edf4 100644 --- a/lib/datadog/core/configuration/agent_settings_resolver.rb +++ b/lib/datadog/core/configuration/agent_settings_resolver.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' require_relative 'settings' diff --git a/lib/datadog/core/configuration/base.rb b/lib/datadog/core/configuration/base.rb index 05f367f59e0..f29887c1802 100644 --- a/lib/datadog/core/configuration/base.rb +++ b/lib/datadog/core/configuration/base.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../environment/variable_helpers' require_relative 'options' diff --git a/lib/datadog/core/configuration/components.rb b/lib/datadog/core/configuration/components.rb index 8c585abe61a..bc6f8bcadf6 100644 --- a/lib/datadog/core/configuration/components.rb +++ b/lib/datadog/core/configuration/components.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'agent_settings_resolver' require_relative '../diagnostics/environment_logger' require_relative '../diagnostics/health' diff --git a/lib/datadog/core/configuration/dependency_resolver.rb b/lib/datadog/core/configuration/dependency_resolver.rb index 0f4bae5d48e..4c2738c5807 100644 --- a/lib/datadog/core/configuration/dependency_resolver.rb +++ b/lib/datadog/core/configuration/dependency_resolver.rb @@ -1,5 +1,3 @@ -# typed: false - require 'tsort' module Datadog diff --git a/lib/datadog/core/configuration/ext.rb b/lib/datadog/core/configuration/ext.rb index c271d91ce24..d5ae9dbd2d1 100644 --- a/lib/datadog/core/configuration/ext.rb +++ b/lib/datadog/core/configuration/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Configuration diff --git a/lib/datadog/core/configuration/option.rb b/lib/datadog/core/configuration/option.rb index 610845b268a..4b236468a7a 100644 --- a/lib/datadog/core/configuration/option.rb +++ b/lib/datadog/core/configuration/option.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Configuration diff --git a/lib/datadog/core/configuration/option_definition.rb b/lib/datadog/core/configuration/option_definition.rb index 4c6349ecd50..d625c6ee733 100644 --- a/lib/datadog/core/configuration/option_definition.rb +++ b/lib/datadog/core/configuration/option_definition.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'option' module Datadog diff --git a/lib/datadog/core/configuration/option_definition_set.rb b/lib/datadog/core/configuration/option_definition_set.rb index 339cba083f7..d59f951123c 100644 --- a/lib/datadog/core/configuration/option_definition_set.rb +++ b/lib/datadog/core/configuration/option_definition_set.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'dependency_resolver' module Datadog diff --git a/lib/datadog/core/configuration/option_set.rb b/lib/datadog/core/configuration/option_set.rb index 5f34793127a..13bbf0690ab 100644 --- a/lib/datadog/core/configuration/option_set.rb +++ b/lib/datadog/core/configuration/option_set.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Configuration diff --git a/lib/datadog/core/configuration/options.rb b/lib/datadog/core/configuration/options.rb index 7ae4510fc80..df75be79e4c 100644 --- a/lib/datadog/core/configuration/options.rb +++ b/lib/datadog/core/configuration/options.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'option_set' require_relative 'option_definition' require_relative 'option_definition_set' diff --git a/lib/datadog/core/configuration/settings.rb b/lib/datadog/core/configuration/settings.rb index ca3b6e3a33f..31c2eb5bd73 100644 --- a/lib/datadog/core/configuration/settings.rb +++ b/lib/datadog/core/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require 'logger' require_relative 'base' diff --git a/lib/datadog/core/diagnostics/environment_logger.rb b/lib/datadog/core/diagnostics/environment_logger.rb index b078ae7a6b8..9f99c031806 100644 --- a/lib/datadog/core/diagnostics/environment_logger.rb +++ b/lib/datadog/core/diagnostics/environment_logger.rb @@ -1,5 +1,3 @@ -# typed: true - require 'date' require 'json' require 'rbconfig' diff --git a/lib/datadog/core/diagnostics/health.rb b/lib/datadog/core/diagnostics/health.rb index f9ce12270c2..905a2871796 100644 --- a/lib/datadog/core/diagnostics/health.rb +++ b/lib/datadog/core/diagnostics/health.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../metrics/client' require_relative '../../tracing/diagnostics/health' diff --git a/lib/datadog/core/encoding.rb b/lib/datadog/core/encoding.rb index 07f7ec61cfc..1212783863a 100644 --- a/lib/datadog/core/encoding.rb +++ b/lib/datadog/core/encoding.rb @@ -1,5 +1,3 @@ -# typed: true - require 'json' require 'msgpack' diff --git a/lib/datadog/core/environment/cgroup.rb b/lib/datadog/core/environment/cgroup.rb index ec2e8c7beda..6d04bf20251 100644 --- a/lib/datadog/core/environment/cgroup.rb +++ b/lib/datadog/core/environment/cgroup.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' module Datadog diff --git a/lib/datadog/core/environment/class_count.rb b/lib/datadog/core/environment/class_count.rb index 6f932ff9e14..572c319036f 100644 --- a/lib/datadog/core/environment/class_count.rb +++ b/lib/datadog/core/environment/class_count.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Environment diff --git a/lib/datadog/core/environment/container.rb b/lib/datadog/core/environment/container.rb index 4f41a19710e..305b2d729c6 100644 --- a/lib/datadog/core/environment/container.rb +++ b/lib/datadog/core/environment/container.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'cgroup' module Datadog diff --git a/lib/datadog/core/environment/ext.rb b/lib/datadog/core/environment/ext.rb index 875b9a6ade7..876a1e34cdb 100644 --- a/lib/datadog/core/environment/ext.rb +++ b/lib/datadog/core/environment/ext.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../ddtrace/version' module Datadog diff --git a/lib/datadog/core/environment/gc.rb b/lib/datadog/core/environment/gc.rb index 336c8101be2..82554df7ec2 100644 --- a/lib/datadog/core/environment/gc.rb +++ b/lib/datadog/core/environment/gc.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Environment diff --git a/lib/datadog/core/environment/identity.rb b/lib/datadog/core/environment/identity.rb index 0cfbdd74cd9..ab1ae18097d 100644 --- a/lib/datadog/core/environment/identity.rb +++ b/lib/datadog/core/environment/identity.rb @@ -1,5 +1,3 @@ -# typed: false - require 'securerandom' require_relative 'ext' diff --git a/lib/datadog/core/environment/platform.rb b/lib/datadog/core/environment/platform.rb index 2e43b145f05..cea8d9fa662 100644 --- a/lib/datadog/core/environment/platform.rb +++ b/lib/datadog/core/environment/platform.rb @@ -1,5 +1,3 @@ -# typed: false - require 'etc' require_relative 'identity' diff --git a/lib/datadog/core/environment/socket.rb b/lib/datadog/core/environment/socket.rb index 025b0827389..ebfa609dd3e 100644 --- a/lib/datadog/core/environment/socket.rb +++ b/lib/datadog/core/environment/socket.rb @@ -1,5 +1,3 @@ -# typed: false - require 'socket' require_relative '../utils/forking' diff --git a/lib/datadog/core/environment/thread_count.rb b/lib/datadog/core/environment/thread_count.rb index cc48736df81..723ded37c55 100644 --- a/lib/datadog/core/environment/thread_count.rb +++ b/lib/datadog/core/environment/thread_count.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Environment diff --git a/lib/datadog/core/environment/variable_helpers.rb b/lib/datadog/core/environment/variable_helpers.rb index 1c36df49dc0..1a11e6b286f 100644 --- a/lib/datadog/core/environment/variable_helpers.rb +++ b/lib/datadog/core/environment/variable_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core # Namespace for handling application environment diff --git a/lib/datadog/core/environment/vm_cache.rb b/lib/datadog/core/environment/vm_cache.rb index 46693a52c3b..a670938a444 100644 --- a/lib/datadog/core/environment/vm_cache.rb +++ b/lib/datadog/core/environment/vm_cache.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Environment diff --git a/lib/datadog/core/error.rb b/lib/datadog/core/error.rb index e0139e4c4f0..fb9872f8e2c 100644 --- a/lib/datadog/core/error.rb +++ b/lib/datadog/core/error.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative 'utils' module Datadog diff --git a/lib/datadog/core/extensions.rb b/lib/datadog/core/extensions.rb index 66ad6d6e626..ec65a80b277 100644 --- a/lib/datadog/core/extensions.rb +++ b/lib/datadog/core/extensions.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'configuration' # Global namespace that includes all Datadog functionality. diff --git a/lib/datadog/core/git/ext.rb b/lib/datadog/core/git/ext.rb index 166a773939a..69cfca812f6 100644 --- a/lib/datadog/core/git/ext.rb +++ b/lib/datadog/core/git/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Git diff --git a/lib/datadog/core/logger.rb b/lib/datadog/core/logger.rb index 7afa500dc1e..cbe29d03a68 100644 --- a/lib/datadog/core/logger.rb +++ b/lib/datadog/core/logger.rb @@ -1,5 +1,3 @@ -# typed: true - require 'logger' module Datadog diff --git a/lib/datadog/core/metrics/client.rb b/lib/datadog/core/metrics/client.rb index 903d1ddccc2..03f77e45f67 100644 --- a/lib/datadog/core/metrics/client.rb +++ b/lib/datadog/core/metrics/client.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../utils/time' require_relative '../utils/only_once' require_relative '../configuration/ext' diff --git a/lib/datadog/core/metrics/ext.rb b/lib/datadog/core/metrics/ext.rb index a79c97797dc..655a22cd4cf 100644 --- a/lib/datadog/core/metrics/ext.rb +++ b/lib/datadog/core/metrics/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Metrics diff --git a/lib/datadog/core/metrics/helpers.rb b/lib/datadog/core/metrics/helpers.rb index 91316246888..a71b73653f7 100644 --- a/lib/datadog/core/metrics/helpers.rb +++ b/lib/datadog/core/metrics/helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Metrics diff --git a/lib/datadog/core/metrics/logging.rb b/lib/datadog/core/metrics/logging.rb index 46541e575ed..cfbc3eb964d 100644 --- a/lib/datadog/core/metrics/logging.rb +++ b/lib/datadog/core/metrics/logging.rb @@ -1,5 +1,3 @@ -# typed: true - require 'logger' require 'json' diff --git a/lib/datadog/core/metrics/metric.rb b/lib/datadog/core/metrics/metric.rb index 582af7c068c..df2fd4ae34b 100644 --- a/lib/datadog/core/metrics/metric.rb +++ b/lib/datadog/core/metrics/metric.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Metrics diff --git a/lib/datadog/core/metrics/options.rb b/lib/datadog/core/metrics/options.rb index d8ce8cbd96e..866e277bcf0 100644 --- a/lib/datadog/core/metrics/options.rb +++ b/lib/datadog/core/metrics/options.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative '../environment/ext' require_relative '../environment/identity' diff --git a/lib/datadog/core/pin.rb b/lib/datadog/core/pin.rb index 8f2204e174c..1eba8518ccd 100644 --- a/lib/datadog/core/pin.rb +++ b/lib/datadog/core/pin.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core # A {Datadog::Core::Pin} sets metadata on a particular object. diff --git a/lib/datadog/core/runtime/ext.rb b/lib/datadog/core/runtime/ext.rb index cb054f663de..3d0483bf193 100644 --- a/lib/datadog/core/runtime/ext.rb +++ b/lib/datadog/core/runtime/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Runtime diff --git a/lib/datadog/core/runtime/metrics.rb b/lib/datadog/core/runtime/metrics.rb index 5fbf90ecac9..ea2d30ef421 100644 --- a/lib/datadog/core/runtime/metrics.rb +++ b/lib/datadog/core/runtime/metrics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative '../metrics/client' diff --git a/lib/datadog/core/telemetry/client.rb b/lib/datadog/core/telemetry/client.rb index 6de670ed6df..9fb7bbd8eb7 100644 --- a/lib/datadog/core/telemetry/client.rb +++ b/lib/datadog/core/telemetry/client.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'emitter' require_relative 'heartbeat' require_relative '../utils/forking' diff --git a/lib/datadog/core/telemetry/collector.rb b/lib/datadog/core/telemetry/collector.rb index e04bd02f6b1..22cd7c31b0b 100644 --- a/lib/datadog/core/telemetry/collector.rb +++ b/lib/datadog/core/telemetry/collector.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require 'etc' require_relative '../configuration/agent_settings_resolver' diff --git a/lib/datadog/core/telemetry/emitter.rb b/lib/datadog/core/telemetry/emitter.rb index 16ce37b938a..69e310851f5 100644 --- a/lib/datadog/core/telemetry/emitter.rb +++ b/lib/datadog/core/telemetry/emitter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'event' require_relative 'http/transport' require_relative '../utils/sequence' diff --git a/lib/datadog/core/telemetry/event.rb b/lib/datadog/core/telemetry/event.rb index 14540f79aa5..853c0c43479 100644 --- a/lib/datadog/core/telemetry/event.rb +++ b/lib/datadog/core/telemetry/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'collector' require_relative 'v1/app_event' require_relative 'v1/telemetry_request' diff --git a/lib/datadog/core/telemetry/ext.rb b/lib/datadog/core/telemetry/ext.rb index 19d1c0f3635..0a8b066175d 100644 --- a/lib/datadog/core/telemetry/ext.rb +++ b/lib/datadog/core/telemetry/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Telemetry diff --git a/lib/datadog/core/telemetry/heartbeat.rb b/lib/datadog/core/telemetry/heartbeat.rb index f61e51ee433..1a139e27a12 100644 --- a/lib/datadog/core/telemetry/heartbeat.rb +++ b/lib/datadog/core/telemetry/heartbeat.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../worker' require_relative '../workers/polling' diff --git a/lib/datadog/core/telemetry/http/adapters/net.rb b/lib/datadog/core/telemetry/http/adapters/net.rb index e060f1de43d..faca410b973 100644 --- a/lib/datadog/core/telemetry/http/adapters/net.rb +++ b/lib/datadog/core/telemetry/http/adapters/net.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../response' module Datadog diff --git a/lib/datadog/core/telemetry/http/env.rb b/lib/datadog/core/telemetry/http/env.rb index 12dd63cf2ca..4ee923f1e84 100644 --- a/lib/datadog/core/telemetry/http/env.rb +++ b/lib/datadog/core/telemetry/http/env.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Telemetry diff --git a/lib/datadog/core/telemetry/http/response.rb b/lib/datadog/core/telemetry/http/response.rb index ee8aa6ff5ed..25dd1c1d641 100644 --- a/lib/datadog/core/telemetry/http/response.rb +++ b/lib/datadog/core/telemetry/http/response.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Telemetry diff --git a/lib/datadog/core/telemetry/http/transport.rb b/lib/datadog/core/telemetry/http/transport.rb index d2dadeb9ee9..20cb97ffa24 100644 --- a/lib/datadog/core/telemetry/http/transport.rb +++ b/lib/datadog/core/telemetry/http/transport.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../configuration/settings' require_relative 'env' require_relative 'ext' diff --git a/lib/datadog/core/utils.rb b/lib/datadog/core/utils.rb index a38640bb3da..59debc2920c 100644 --- a/lib/datadog/core/utils.rb +++ b/lib/datadog/core/utils.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'utils/forking' module Datadog diff --git a/lib/datadog/core/utils/compression.rb b/lib/datadog/core/utils/compression.rb index ecf0396f059..24a240c7428 100644 --- a/lib/datadog/core/utils/compression.rb +++ b/lib/datadog/core/utils/compression.rb @@ -1,5 +1,3 @@ -# typed: true - require 'stringio' require 'zlib' diff --git a/lib/datadog/core/utils/forking.rb b/lib/datadog/core/utils/forking.rb index 5b48be9c797..cd6d5587188 100644 --- a/lib/datadog/core/utils/forking.rb +++ b/lib/datadog/core/utils/forking.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Utils diff --git a/lib/datadog/core/utils/object_set.rb b/lib/datadog/core/utils/object_set.rb index 5642ba4bc89..aed2d7cf281 100644 --- a/lib/datadog/core/utils/object_set.rb +++ b/lib/datadog/core/utils/object_set.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'sequence' module Datadog diff --git a/lib/datadog/core/utils/only_once.rb b/lib/datadog/core/utils/only_once.rb index bbf4bfabc76..d56b41cf80b 100644 --- a/lib/datadog/core/utils/only_once.rb +++ b/lib/datadog/core/utils/only_once.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - module Datadog module Core module Utils diff --git a/lib/datadog/core/utils/safe_dup.rb b/lib/datadog/core/utils/safe_dup.rb index 13ab86a77fb..4d15ac5609a 100644 --- a/lib/datadog/core/utils/safe_dup.rb +++ b/lib/datadog/core/utils/safe_dup.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Utils diff --git a/lib/datadog/core/utils/sequence.rb b/lib/datadog/core/utils/sequence.rb index 54bc73825e9..1f3b539cbc9 100644 --- a/lib/datadog/core/utils/sequence.rb +++ b/lib/datadog/core/utils/sequence.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Utils diff --git a/lib/datadog/core/utils/string_table.rb b/lib/datadog/core/utils/string_table.rb index 46bb302dab2..ee14529beb8 100644 --- a/lib/datadog/core/utils/string_table.rb +++ b/lib/datadog/core/utils/string_table.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'sequence' module Datadog diff --git a/lib/datadog/core/utils/time.rb b/lib/datadog/core/utils/time.rb index b69611e8264..66bd758d010 100644 --- a/lib/datadog/core/utils/time.rb +++ b/lib/datadog/core/utils/time.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core module Utils diff --git a/lib/datadog/core/vendor/multipart-post/multipart.rb b/lib/datadog/core/vendor/multipart-post/multipart.rb index 721ee662c28..d0222250b9f 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart.rb @@ -1,5 +1,3 @@ -# typed: strict - #-- # Copyright (c) 2007-2013 Nick Sieger. # See the file README.txt included with the distribution for diff --git a/lib/datadog/core/vendor/multipart-post/multipart/post.rb b/lib/datadog/core/vendor/multipart-post/multipart/post.rb index df596c9cae6..718c705977f 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart/post.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart/post.rb @@ -1,5 +1,3 @@ -# typed: strict - module Datadog module Core module Vendor diff --git a/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb b/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb index 00a2a12d7c7..94708c5dc40 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb @@ -1,5 +1,3 @@ -# typed: false - #-- # Copyright (c) 2007-2012 Nick Sieger. # See the file README.txt included with the distribution for diff --git a/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb b/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb index 96eb02a72bd..9b32d5f2525 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb @@ -1,5 +1,3 @@ -# typed: false - #-- # Copyright (c) 2007-2013 Nick Sieger. # See the file README.txt included with the distribution for diff --git a/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb b/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb index fc5e468546d..2bb269d8232 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb @@ -1,5 +1,3 @@ -# typed: true - #-- # Copyright (c) 2007-2013 Nick Sieger. # See the file README.txt included with the distribution for diff --git a/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb b/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb index a44d0fb1414..f60a41c912a 100644 --- a/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb +++ b/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb @@ -1,5 +1,3 @@ -# typed: strict - module Datadog module Core module Vendor diff --git a/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb b/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb index ddfab4b5236..9d1b8932407 100644 --- a/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb +++ b/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb @@ -1,5 +1,3 @@ -# typed: strict - #-- # Copyright (c) 2007-2012 Nick Sieger. # See the file README.txt included with the distribution for diff --git a/lib/datadog/core/worker.rb b/lib/datadog/core/worker.rb index f576164e974..95d5b0f2f0b 100644 --- a/lib/datadog/core/worker.rb +++ b/lib/datadog/core/worker.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Core # Base class for work tasks diff --git a/lib/datadog/core/workers/async.rb b/lib/datadog/core/workers/async.rb index 359adce5186..1ea2664ce7a 100644 --- a/lib/datadog/core/workers/async.rb +++ b/lib/datadog/core/workers/async.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../logger' module Datadog diff --git a/lib/datadog/core/workers/interval_loop.rb b/lib/datadog/core/workers/interval_loop.rb index 6672ca6a051..34e0113f9eb 100644 --- a/lib/datadog/core/workers/interval_loop.rb +++ b/lib/datadog/core/workers/interval_loop.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Workers diff --git a/lib/datadog/core/workers/polling.rb b/lib/datadog/core/workers/polling.rb index f388d26042e..4433ead51ec 100644 --- a/lib/datadog/core/workers/polling.rb +++ b/lib/datadog/core/workers/polling.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'async' require_relative 'interval_loop' diff --git a/lib/datadog/core/workers/queue.rb b/lib/datadog/core/workers/queue.rb index a5cb40cce4b..29b6820f6e9 100644 --- a/lib/datadog/core/workers/queue.rb +++ b/lib/datadog/core/workers/queue.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Core module Workers diff --git a/lib/datadog/core/workers/runtime_metrics.rb b/lib/datadog/core/workers/runtime_metrics.rb index dad137fc414..b19b330dd9d 100644 --- a/lib/datadog/core/workers/runtime_metrics.rb +++ b/lib/datadog/core/workers/runtime_metrics.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../runtime/metrics' require_relative '../worker' diff --git a/lib/datadog/kit.rb b/lib/datadog/kit.rb index 8400348edaa..ffe8f26203d 100644 --- a/lib/datadog/kit.rb +++ b/lib/datadog/kit.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog # Datadog::Kit holds public-facing APIs for higher level user-facing # features, these features not belonging to a specific product. Contrary to diff --git a/lib/datadog/kit/appsec/events.rb b/lib/datadog/kit/appsec/events.rb index da61d453d85..a85345aa8da 100644 --- a/lib/datadog/kit/appsec/events.rb +++ b/lib/datadog/kit/appsec/events.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true require_relative '../identity' diff --git a/lib/datadog/kit/enable_core_dumps.rb b/lib/datadog/kit/enable_core_dumps.rb index f774efdad99..1e9b249e526 100644 --- a/lib/datadog/kit/enable_core_dumps.rb +++ b/lib/datadog/kit/enable_core_dumps.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true module Datadog diff --git a/lib/datadog/kit/identity.rb b/lib/datadog/kit/identity.rb index e6de30fd20c..b2bd8115e50 100644 --- a/lib/datadog/kit/identity.rb +++ b/lib/datadog/kit/identity.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true module Datadog diff --git a/lib/datadog/opentelemetry.rb b/lib/datadog/opentelemetry.rb index e08447a7bf6..df1527491a0 100644 --- a/lib/datadog/opentelemetry.rb +++ b/lib/datadog/opentelemetry.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore # Entrypoint file for OpenTelemetry integration. # diff --git a/lib/datadog/opentelemetry/api/context.rb b/lib/datadog/opentelemetry/api/context.rb index 2d90d60d8b8..20fbdae73b6 100644 --- a/lib/datadog/opentelemetry/api/context.rb +++ b/lib/datadog/opentelemetry/api/context.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore require_relative 'trace/span' require_relative '../../tracing/trace_operation' diff --git a/lib/datadog/opentelemetry/api/trace/span.rb b/lib/datadog/opentelemetry/api/trace/span.rb index 4d4db0edb2d..76f6d111cd3 100644 --- a/lib/datadog/opentelemetry/api/trace/span.rb +++ b/lib/datadog/opentelemetry/api/trace/span.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore module Datadog module OpenTelemetry diff --git a/lib/datadog/opentelemetry/sdk/configurator.rb b/lib/datadog/opentelemetry/sdk/configurator.rb index 956b0479d2b..2d1bb0c6ff5 100644 --- a/lib/datadog/opentelemetry/sdk/configurator.rb +++ b/lib/datadog/opentelemetry/sdk/configurator.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore require_relative 'span_processor' require_relative 'id_generator' diff --git a/lib/datadog/opentelemetry/sdk/id_generator.rb b/lib/datadog/opentelemetry/sdk/id_generator.rb index 1314c6fb77a..fdad8feb906 100644 --- a/lib/datadog/opentelemetry/sdk/id_generator.rb +++ b/lib/datadog/opentelemetry/sdk/id_generator.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore module Datadog module OpenTelemetry diff --git a/lib/datadog/opentelemetry/sdk/propagator.rb b/lib/datadog/opentelemetry/sdk/propagator.rb index ba998d1715c..b6c549bdb3e 100644 --- a/lib/datadog/opentelemetry/sdk/propagator.rb +++ b/lib/datadog/opentelemetry/sdk/propagator.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore module Datadog module OpenTelemetry diff --git a/lib/datadog/opentelemetry/sdk/span_processor.rb b/lib/datadog/opentelemetry/sdk/span_processor.rb index f567171cdbf..37e4e38c4d5 100644 --- a/lib/datadog/opentelemetry/sdk/span_processor.rb +++ b/lib/datadog/opentelemetry/sdk/span_processor.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: ignore module Datadog module OpenTelemetry diff --git a/lib/datadog/opentracer.rb b/lib/datadog/opentracer.rb index f3af32f8f65..a11c2cc2189 100644 --- a/lib/datadog/opentracer.rb +++ b/lib/datadog/opentracer.rb @@ -1,5 +1,3 @@ -# typed: strict - require 'opentracing' require 'opentracing/carrier' require_relative 'tracing' diff --git a/lib/datadog/opentracer/binary_propagator.rb b/lib/datadog/opentracer/binary_propagator.rb index 0545a8d89b8..e70683d4f46 100644 --- a/lib/datadog/opentracer/binary_propagator.rb +++ b/lib/datadog/opentracer/binary_propagator.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # OpenTracing propagator for Datadog::OpenTracer::Tracer diff --git a/lib/datadog/opentracer/carrier.rb b/lib/datadog/opentracer/carrier.rb index ae2c893c28d..3ab9e1b7c69 100644 --- a/lib/datadog/opentracer/carrier.rb +++ b/lib/datadog/opentracer/carrier.rb @@ -1,5 +1,3 @@ -# typed: strict - module Datadog module OpenTracer # @public_api diff --git a/lib/datadog/opentracer/distributed_headers.rb b/lib/datadog/opentracer/distributed_headers.rb index 9f42c8aef04..ec87e203ecf 100644 --- a/lib/datadog/opentracer/distributed_headers.rb +++ b/lib/datadog/opentracer/distributed_headers.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../tracing/distributed/datadog' require_relative '../tracing/utils' diff --git a/lib/datadog/opentracer/global_tracer.rb b/lib/datadog/opentracer/global_tracer.rb index 048946e9004..7e62c909009 100644 --- a/lib/datadog/opentracer/global_tracer.rb +++ b/lib/datadog/opentracer/global_tracer.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # Patch for OpenTracing module diff --git a/lib/datadog/opentracer/propagator.rb b/lib/datadog/opentracer/propagator.rb index 5c18ebc9ff0..07450e5b2cb 100644 --- a/lib/datadog/opentracer/propagator.rb +++ b/lib/datadog/opentracer/propagator.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module OpenTracer # OpenTracing propagator for Datadog::OpenTracer::Tracer diff --git a/lib/datadog/opentracer/rack_propagator.rb b/lib/datadog/opentracer/rack_propagator.rb index 4edd3398c21..aa349c6aed5 100644 --- a/lib/datadog/opentracer/rack_propagator.rb +++ b/lib/datadog/opentracer/rack_propagator.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../tracing/context' require_relative '../tracing/propagation/http' require_relative '../tracing/trace_operation' diff --git a/lib/datadog/opentracer/scope.rb b/lib/datadog/opentracer/scope.rb index deeff0689bd..273db9971dd 100644 --- a/lib/datadog/opentracer/scope.rb +++ b/lib/datadog/opentracer/scope.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # OpenTracing adapter for scope diff --git a/lib/datadog/opentracer/scope_manager.rb b/lib/datadog/opentracer/scope_manager.rb index 57883148052..8e71a5392aa 100644 --- a/lib/datadog/opentracer/scope_manager.rb +++ b/lib/datadog/opentracer/scope_manager.rb @@ -1,5 +1,3 @@ -# typed: strict - module Datadog module OpenTracer # @public_api diff --git a/lib/datadog/opentracer/span.rb b/lib/datadog/opentracer/span.rb index 29b9d84cc79..54018b8aafb 100644 --- a/lib/datadog/opentracer/span.rb +++ b/lib/datadog/opentracer/span.rb @@ -1,5 +1,3 @@ -# typed: true - require 'time' require_relative '../tracing/metadata/ext' diff --git a/lib/datadog/opentracer/span_context.rb b/lib/datadog/opentracer/span_context.rb index 5e17f06e7c1..f717ab5100e 100644 --- a/lib/datadog/opentracer/span_context.rb +++ b/lib/datadog/opentracer/span_context.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # OpenTracing adapter for SpanContext diff --git a/lib/datadog/opentracer/span_context_factory.rb b/lib/datadog/opentracer/span_context_factory.rb index b05241b4a49..46898f1a61a 100644 --- a/lib/datadog/opentracer/span_context_factory.rb +++ b/lib/datadog/opentracer/span_context_factory.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # Creates new Datadog::OpenTracer::SpanContext diff --git a/lib/datadog/opentracer/text_map_propagator.rb b/lib/datadog/opentracer/text_map_propagator.rb index bd028c3b193..817404ce819 100644 --- a/lib/datadog/opentracer/text_map_propagator.rb +++ b/lib/datadog/opentracer/text_map_propagator.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../tracing/context' require_relative '../tracing/distributed/datadog' require_relative '../tracing/trace_operation' diff --git a/lib/datadog/opentracer/thread_local_scope.rb b/lib/datadog/opentracer/thread_local_scope.rb index a8afb999778..3cb9807aef5 100644 --- a/lib/datadog/opentracer/thread_local_scope.rb +++ b/lib/datadog/opentracer/thread_local_scope.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module OpenTracer # OpenTracing adapter for thread local scopes diff --git a/lib/datadog/opentracer/thread_local_scope_manager.rb b/lib/datadog/opentracer/thread_local_scope_manager.rb index 707a3640bf7..198c5b1d24e 100644 --- a/lib/datadog/opentracer/thread_local_scope_manager.rb +++ b/lib/datadog/opentracer/thread_local_scope_manager.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../core/utils/sequence' module Datadog diff --git a/lib/datadog/opentracer/tracer.rb b/lib/datadog/opentracer/tracer.rb index 478f70befae..0b33d5b9772 100644 --- a/lib/datadog/opentracer/tracer.rb +++ b/lib/datadog/opentracer/tracer.rb @@ -1,5 +1,3 @@ -# typed: false - require 'time' require_relative '../tracing/context' diff --git a/lib/datadog/profiling.rb b/lib/datadog/profiling.rb index e5d1d2b7735..a0ecb3f1d93 100644 --- a/lib/datadog/profiling.rb +++ b/lib/datadog/profiling.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'core' require_relative 'core/environment/variable_helpers' require_relative 'core/utils/only_once' diff --git a/lib/datadog/profiling/backtrace_location.rb b/lib/datadog/profiling/backtrace_location.rb index d4cb3dde663..fa2e1d1bc32 100644 --- a/lib/datadog/profiling/backtrace_location.rb +++ b/lib/datadog/profiling/backtrace_location.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling # Entity class used to represent an entry in a stack trace. diff --git a/lib/datadog/profiling/buffer.rb b/lib/datadog/profiling/buffer.rb index c3a19683432..9ed69bec680 100644 --- a/lib/datadog/profiling/buffer.rb +++ b/lib/datadog/profiling/buffer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/buffer/thread_safe' require_relative '../core/utils/object_set' require_relative '../core/utils/string_table' diff --git a/lib/datadog/profiling/collectors/code_provenance.rb b/lib/datadog/profiling/collectors/code_provenance.rb index 1d5d367de2b..ad5412f00df 100644 --- a/lib/datadog/profiling/collectors/code_provenance.rb +++ b/lib/datadog/profiling/collectors/code_provenance.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require 'set' require 'json' diff --git a/lib/datadog/profiling/collectors/cpu_and_wall_time.rb b/lib/datadog/profiling/collectors/cpu_and_wall_time.rb index cf9267a2f54..0f7b95a5047 100644 --- a/lib/datadog/profiling/collectors/cpu_and_wall_time.rb +++ b/lib/datadog/profiling/collectors/cpu_and_wall_time.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Collectors diff --git a/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb b/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb index 5ef118d0e18..18d646aa4f2 100644 --- a/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb +++ b/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Collectors diff --git a/lib/datadog/profiling/collectors/dynamic_sampling_rate.rb b/lib/datadog/profiling/collectors/dynamic_sampling_rate.rb index e3b9637ffdb..5858fee2b34 100644 --- a/lib/datadog/profiling/collectors/dynamic_sampling_rate.rb +++ b/lib/datadog/profiling/collectors/dynamic_sampling_rate.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Collectors diff --git a/lib/datadog/profiling/collectors/idle_sampling_helper.rb b/lib/datadog/profiling/collectors/idle_sampling_helper.rb index 8a20bba7356..edbd9af3a0e 100644 --- a/lib/datadog/profiling/collectors/idle_sampling_helper.rb +++ b/lib/datadog/profiling/collectors/idle_sampling_helper.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Collectors diff --git a/lib/datadog/profiling/collectors/old_stack.rb b/lib/datadog/profiling/collectors/old_stack.rb index 89846b86a12..a73d307767f 100644 --- a/lib/datadog/profiling/collectors/old_stack.rb +++ b/lib/datadog/profiling/collectors/old_stack.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core/utils/only_once' require_relative '../../core/utils/time' require_relative '../../core/worker' diff --git a/lib/datadog/profiling/collectors/stack.rb b/lib/datadog/profiling/collectors/stack.rb index 680cba89170..aca5a915e2d 100644 --- a/lib/datadog/profiling/collectors/stack.rb +++ b/lib/datadog/profiling/collectors/stack.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Collectors diff --git a/lib/datadog/profiling/component.rb b/lib/datadog/profiling/component.rb index 7d340e7dd1b..2f3c01c3adf 100644 --- a/lib/datadog/profiling/component.rb +++ b/lib/datadog/profiling/component.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true module Datadog diff --git a/lib/datadog/profiling/encoding/profile.rb b/lib/datadog/profiling/encoding/profile.rb index 7781dd98a5c..4cce31536b5 100644 --- a/lib/datadog/profiling/encoding/profile.rb +++ b/lib/datadog/profiling/encoding/profile.rb @@ -1,5 +1,3 @@ -# typed: true - require 'time' require_relative '../pprof/template' diff --git a/lib/datadog/profiling/event.rb b/lib/datadog/profiling/event.rb index 8d1675150dc..3edf3a9edce 100644 --- a/lib/datadog/profiling/event.rb +++ b/lib/datadog/profiling/event.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling # Describes a sample of some data obtained from the runtime. diff --git a/lib/datadog/profiling/events/stack.rb b/lib/datadog/profiling/events/stack.rb index 5c16f393832..5aa9406fbb9 100644 --- a/lib/datadog/profiling/events/stack.rb +++ b/lib/datadog/profiling/events/stack.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../event' module Datadog diff --git a/lib/datadog/profiling/exporter.rb b/lib/datadog/profiling/exporter.rb index 1504d419030..90ff565dd75 100644 --- a/lib/datadog/profiling/exporter.rb +++ b/lib/datadog/profiling/exporter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative 'tag_builder' diff --git a/lib/datadog/profiling/ext.rb b/lib/datadog/profiling/ext.rb index c53927a6633..7c643df0165 100644 --- a/lib/datadog/profiling/ext.rb +++ b/lib/datadog/profiling/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling module Ext diff --git a/lib/datadog/profiling/ext/forking.rb b/lib/datadog/profiling/ext/forking.rb index 14759ba2244..221cc9960d3 100644 --- a/lib/datadog/profiling/ext/forking.rb +++ b/lib/datadog/profiling/ext/forking.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling module Ext diff --git a/lib/datadog/profiling/flush.rb b/lib/datadog/profiling/flush.rb index 1680fbe4810..40d2c7bf0cf 100644 --- a/lib/datadog/profiling/flush.rb +++ b/lib/datadog/profiling/flush.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling # Represents a collection of events of a specific type being flushed. diff --git a/lib/datadog/profiling/http_transport.rb b/lib/datadog/profiling/http_transport.rb index aa73fe8eb8a..d9c6265ad7c 100644 --- a/lib/datadog/profiling/http_transport.rb +++ b/lib/datadog/profiling/http_transport.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling # Used to report profiling data to Datadog. diff --git a/lib/datadog/profiling/load_native_extension.rb b/lib/datadog/profiling/load_native_extension.rb index 5ea4bb32c4a..ae8b5ee0ee7 100644 --- a/lib/datadog/profiling/load_native_extension.rb +++ b/lib/datadog/profiling/load_native_extension.rb @@ -1,5 +1,3 @@ -# typed: ignore - # This file is used to load the profiling native extension. It works in two steps: # # 1. Load the ddtrace_profiling_loader extension. This extension will be used to load the actual extension, but in diff --git a/lib/datadog/profiling/native_extension.rb b/lib/datadog/profiling/native_extension.rb index db7134c2072..a41c0014677 100644 --- a/lib/datadog/profiling/native_extension.rb +++ b/lib/datadog/profiling/native_extension.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling # This module contains classes and methods which are implemented using native code in the diff --git a/lib/datadog/profiling/old_recorder.rb b/lib/datadog/profiling/old_recorder.rb index 038ed5f4c11..1eed16e899e 100644 --- a/lib/datadog/profiling/old_recorder.rb +++ b/lib/datadog/profiling/old_recorder.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'buffer' require_relative 'encoding/profile' diff --git a/lib/datadog/profiling/pprof/builder.rb b/lib/datadog/profiling/pprof/builder.rb index 3ddcaeef024..cfe9dff8b52 100644 --- a/lib/datadog/profiling/pprof/builder.rb +++ b/lib/datadog/profiling/pprof/builder.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../flush' require_relative 'message_set' require_relative 'string_table' diff --git a/lib/datadog/profiling/pprof/converter.rb b/lib/datadog/profiling/pprof/converter.rb index 302534c7635..112bb70ef89 100644 --- a/lib/datadog/profiling/pprof/converter.rb +++ b/lib/datadog/profiling/pprof/converter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../ext' module Datadog diff --git a/lib/datadog/profiling/pprof/message_set.rb b/lib/datadog/profiling/pprof/message_set.rb index 967886174fd..7acfa1dd5b0 100644 --- a/lib/datadog/profiling/pprof/message_set.rb +++ b/lib/datadog/profiling/pprof/message_set.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core/utils/object_set' module Datadog diff --git a/lib/datadog/profiling/pprof/payload.rb b/lib/datadog/profiling/pprof/payload.rb index 03f871f2dce..79095c94689 100644 --- a/lib/datadog/profiling/pprof/payload.rb +++ b/lib/datadog/profiling/pprof/payload.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling module Pprof diff --git a/lib/datadog/profiling/pprof/pprof_pb.rb b/lib/datadog/profiling/pprof/pprof_pb.rb index a965b20b218..2e36b2e09a4 100644 --- a/lib/datadog/profiling/pprof/pprof_pb.rb +++ b/lib/datadog/profiling/pprof/pprof_pb.rb @@ -1,5 +1,3 @@ -# typed: false - # Generated by the protocol buffer compiler. DO NOT EDIT! # source: lib/datadog/profiling/pprof/pprof.proto diff --git a/lib/datadog/profiling/pprof/stack_sample.rb b/lib/datadog/profiling/pprof/stack_sample.rb index cb820789baf..e324d51023a 100644 --- a/lib/datadog/profiling/pprof/stack_sample.rb +++ b/lib/datadog/profiling/pprof/stack_sample.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../ext' require_relative '../events/stack' require_relative 'builder' diff --git a/lib/datadog/profiling/pprof/string_table.rb b/lib/datadog/profiling/pprof/string_table.rb index cef1fea2586..33d227c6a59 100644 --- a/lib/datadog/profiling/pprof/string_table.rb +++ b/lib/datadog/profiling/pprof/string_table.rb @@ -1,5 +1,3 @@ -# typed: strict - require_relative '../../core/utils/string_table' module Datadog diff --git a/lib/datadog/profiling/pprof/template.rb b/lib/datadog/profiling/pprof/template.rb index c676869bf0e..0014b80c8b8 100644 --- a/lib/datadog/profiling/pprof/template.rb +++ b/lib/datadog/profiling/pprof/template.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'payload' require_relative 'message_set' require_relative 'builder' diff --git a/lib/datadog/profiling/preload.rb b/lib/datadog/profiling/preload.rb index 94f06458a92..73c49725a7c 100644 --- a/lib/datadog/profiling/preload.rb +++ b/lib/datadog/profiling/preload.rb @@ -1,5 +1,3 @@ -# typed: strict - require_relative '../../ddtrace' Datadog::Profiling.start_if_enabled diff --git a/lib/datadog/profiling/profiler.rb b/lib/datadog/profiling/profiler.rb index 097250102b2..e6057fc8d03 100644 --- a/lib/datadog/profiling/profiler.rb +++ b/lib/datadog/profiling/profiler.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling # Profiling entry point, which coordinates collectors and a scheduler diff --git a/lib/datadog/profiling/scheduler.rb b/lib/datadog/profiling/scheduler.rb index 54984a2e12f..bbdbcf2d0ab 100644 --- a/lib/datadog/profiling/scheduler.rb +++ b/lib/datadog/profiling/scheduler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/utils/time' require_relative '../core/worker' diff --git a/lib/datadog/profiling/stack_recorder.rb b/lib/datadog/profiling/stack_recorder.rb index 17c27216fd4..8f42e93c830 100644 --- a/lib/datadog/profiling/stack_recorder.rb +++ b/lib/datadog/profiling/stack_recorder.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Profiling # Stores stack samples in a native libdatadog data structure and expose Ruby-level serialization APIs diff --git a/lib/datadog/profiling/tag_builder.rb b/lib/datadog/profiling/tag_builder.rb index 53d36136a0c..52d5b47f39a 100644 --- a/lib/datadog/profiling/tag_builder.rb +++ b/lib/datadog/profiling/tag_builder.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/utils' module Datadog diff --git a/lib/datadog/profiling/tasks/exec.rb b/lib/datadog/profiling/tasks/exec.rb index 5a32cc26501..1fba8e6a135 100644 --- a/lib/datadog/profiling/tasks/exec.rb +++ b/lib/datadog/profiling/tasks/exec.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling module Tasks diff --git a/lib/datadog/profiling/tasks/help.rb b/lib/datadog/profiling/tasks/help.rb index 8f4b2d03099..a29b4c90478 100644 --- a/lib/datadog/profiling/tasks/help.rb +++ b/lib/datadog/profiling/tasks/help.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Profiling module Tasks diff --git a/lib/datadog/profiling/tasks/setup.rb b/lib/datadog/profiling/tasks/setup.rb index 1302bb7d0f1..51192b275ab 100644 --- a/lib/datadog/profiling/tasks/setup.rb +++ b/lib/datadog/profiling/tasks/setup.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../core/utils/only_once' require_relative '../ext/forking' diff --git a/lib/datadog/profiling/trace_identifiers/ddtrace.rb b/lib/datadog/profiling/trace_identifiers/ddtrace.rb index d90a75f99fe..bb05c7088ad 100644 --- a/lib/datadog/profiling/trace_identifiers/ddtrace.rb +++ b/lib/datadog/profiling/trace_identifiers/ddtrace.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../../tracing' require_relative '../../tracing/metadata/ext' diff --git a/lib/datadog/profiling/trace_identifiers/helper.rb b/lib/datadog/profiling/trace_identifiers/helper.rb index 4aa3846de9d..55ebbdfa06b 100644 --- a/lib/datadog/profiling/trace_identifiers/helper.rb +++ b/lib/datadog/profiling/trace_identifiers/helper.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative 'ddtrace' module Datadog diff --git a/lib/datadog/tracing.rb b/lib/datadog/tracing.rb index f7ad42256b4..c008269828f 100644 --- a/lib/datadog/tracing.rb +++ b/lib/datadog/tracing.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'core' require_relative 'tracing/pipeline' diff --git a/lib/datadog/tracing/analytics.rb b/lib/datadog/tracing/analytics.rb index 4200bf30e12..3181d49c1ad 100644 --- a/lib/datadog/tracing/analytics.rb +++ b/lib/datadog/tracing/analytics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'metadata/ext' module Datadog diff --git a/lib/datadog/tracing/buffer.rb b/lib/datadog/tracing/buffer.rb index 421da014eb0..d6da66aa237 100644 --- a/lib/datadog/tracing/buffer.rb +++ b/lib/datadog/tracing/buffer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative '../core/environment/ext' require_relative '../core/buffer/thread_safe' diff --git a/lib/datadog/tracing/client_ip.rb b/lib/datadog/tracing/client_ip.rb index 76fedf82ee0..a2e5b0fdad7 100644 --- a/lib/datadog/tracing/client_ip.rb +++ b/lib/datadog/tracing/client_ip.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/configuration' require_relative 'metadata/ext' require_relative 'span' diff --git a/lib/datadog/tracing/component.rb b/lib/datadog/tracing/component.rb index 0a7e97c4e96..74401954d91 100644 --- a/lib/datadog/tracing/component.rb +++ b/lib/datadog/tracing/component.rb @@ -1,4 +1,3 @@ -# typed: false # frozen_string_literal: true require_relative 'tracer' diff --git a/lib/datadog/tracing/configuration/ext.rb b/lib/datadog/tracing/configuration/ext.rb index 84aa86218ac..02a01728a8d 100644 --- a/lib/datadog/tracing/configuration/ext.rb +++ b/lib/datadog/tracing/configuration/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Configuration diff --git a/lib/datadog/tracing/configuration/settings.rb b/lib/datadog/tracing/configuration/settings.rb index 5f2310a96da..7caabc852b1 100644 --- a/lib/datadog/tracing/configuration/settings.rb +++ b/lib/datadog/tracing/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../tracing/configuration/ext' module Datadog diff --git a/lib/datadog/tracing/context.rb b/lib/datadog/tracing/context.rb index c8aca180161..f647c8b68a4 100644 --- a/lib/datadog/tracing/context.rb +++ b/lib/datadog/tracing/context.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/utils/forking' module Datadog diff --git a/lib/datadog/tracing/context_provider.rb b/lib/datadog/tracing/context_provider.rb index 68a61491ec7..a551e705eb1 100644 --- a/lib/datadog/tracing/context_provider.rb +++ b/lib/datadog/tracing/context_provider.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/utils/sequence' require_relative 'context' diff --git a/lib/datadog/tracing/contrib.rb b/lib/datadog/tracing/contrib.rb index e40c959e553..5744536fd04 100644 --- a/lib/datadog/tracing/contrib.rb +++ b/lib/datadog/tracing/contrib.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../tracing' require_relative 'contrib/registry' require_relative 'contrib/extensions' diff --git a/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb b/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb index aeb2a91a88a..f83b158b5b4 100644 --- a/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_cable/event.rb b/lib/datadog/tracing/contrib/action_cable/event.rb index 429593bd337..c54528e7192 100644 --- a/lib/datadog/tracing/contrib/action_cable/event.rb +++ b/lib/datadog/tracing/contrib/action_cable/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../context' require_relative '../analytics' require_relative '../active_support/notifications/event' diff --git a/lib/datadog/tracing/contrib/action_cable/events.rb b/lib/datadog/tracing/contrib/action_cable/events.rb index 6caa5d54c5f..dba2413829d 100644 --- a/lib/datadog/tracing/contrib/action_cable/events.rb +++ b/lib/datadog/tracing/contrib/action_cable/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'event' require_relative 'events/broadcast' require_relative 'events/perform_action' diff --git a/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb b/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb index 0c766f142d1..9d1b921702e 100644 --- a/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb +++ b/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../event' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb b/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb index d7249c1dd29..e7550321f22 100644 --- a/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb +++ b/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/action_cable/events/transmit.rb b/lib/datadog/tracing/contrib/action_cable/events/transmit.rb index 3fa21374dc0..f62aaae90c7 100644 --- a/lib/datadog/tracing/contrib/action_cable/events/transmit.rb +++ b/lib/datadog/tracing/contrib/action_cable/events/transmit.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../event' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_cable/ext.rb b/lib/datadog/tracing/contrib/action_cable/ext.rb index 79b156009a5..b9485752a77 100644 --- a/lib/datadog/tracing/contrib/action_cable/ext.rb +++ b/lib/datadog/tracing/contrib/action_cable/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/action_cable/instrumentation.rb b/lib/datadog/tracing/contrib/action_cable/instrumentation.rb index 3653786efbf..27f6eabfbff 100644 --- a/lib/datadog/tracing/contrib/action_cable/instrumentation.rb +++ b/lib/datadog/tracing/contrib/action_cable/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative 'ext' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/action_cable/integration.rb b/lib/datadog/tracing/contrib/action_cable/integration.rb index 8069efc6b8a..d4fc4f8786d 100644 --- a/lib/datadog/tracing/contrib/action_cable/integration.rb +++ b/lib/datadog/tracing/contrib/action_cable/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/action_cable/patcher.rb b/lib/datadog/tracing/contrib/action_cable/patcher.rb index ee40efa68d7..b85f34682ce 100644 --- a/lib/datadog/tracing/contrib/action_cable/patcher.rb +++ b/lib/datadog/tracing/contrib/action_cable/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb b/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb index 64d443a92a5..4614d203242 100644 --- a/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_mailer/event.rb b/lib/datadog/tracing/contrib/action_mailer/event.rb index b6f60754399..121b897bf80 100644 --- a/lib/datadog/tracing/contrib/action_mailer/event.rb +++ b/lib/datadog/tracing/contrib/action_mailer/event.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../analytics' require_relative '../active_support/notifications/event' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/action_mailer/events.rb b/lib/datadog/tracing/contrib/action_mailer/events.rb index be6464d552e..9edccd273d5 100644 --- a/lib/datadog/tracing/contrib/action_mailer/events.rb +++ b/lib/datadog/tracing/contrib/action_mailer/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/process' require_relative 'events/deliver' diff --git a/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb b/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb index e0473f4c1a4..adfb338f3f3 100644 --- a/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb +++ b/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/action_mailer/events/process.rb b/lib/datadog/tracing/contrib/action_mailer/events/process.rb index 9118f4d9aef..15d8669717c 100644 --- a/lib/datadog/tracing/contrib/action_mailer/events/process.rb +++ b/lib/datadog/tracing/contrib/action_mailer/events/process.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/action_mailer/ext.rb b/lib/datadog/tracing/contrib/action_mailer/ext.rb index b2d0e74eb8e..038f25f49cf 100644 --- a/lib/datadog/tracing/contrib/action_mailer/ext.rb +++ b/lib/datadog/tracing/contrib/action_mailer/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/action_mailer/integration.rb b/lib/datadog/tracing/contrib/action_mailer/integration.rb index f0a6a0bcc17..b8cf6220fab 100644 --- a/lib/datadog/tracing/contrib/action_mailer/integration.rb +++ b/lib/datadog/tracing/contrib/action_mailer/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' diff --git a/lib/datadog/tracing/contrib/action_mailer/patcher.rb b/lib/datadog/tracing/contrib/action_mailer/patcher.rb index 2fef482bbf1..538cf78949a 100644 --- a/lib/datadog/tracing/contrib/action_mailer/patcher.rb +++ b/lib/datadog/tracing/contrib/action_mailer/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb b/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb index 6e307a7aa0d..1a3aa4fbcdf 100644 --- a/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb +++ b/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing' require_relative '../../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb b/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb index 01a0821a393..47c934f6a28 100644 --- a/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb +++ b/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb b/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb index 1a2c90c0c57..9b7657a1da9 100644 --- a/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_pack/ext.rb b/lib/datadog/tracing/contrib/action_pack/ext.rb index 505864836a6..6e46645a15e 100644 --- a/lib/datadog/tracing/contrib/action_pack/ext.rb +++ b/lib/datadog/tracing/contrib/action_pack/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/action_pack/integration.rb b/lib/datadog/tracing/contrib/action_pack/integration.rb index 77a15ccbca9..e98e4592735 100644 --- a/lib/datadog/tracing/contrib/action_pack/integration.rb +++ b/lib/datadog/tracing/contrib/action_pack/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' diff --git a/lib/datadog/tracing/contrib/action_pack/patcher.rb b/lib/datadog/tracing/contrib/action_pack/patcher.rb index 2e0b3268ad4..f3d9f8801d8 100644 --- a/lib/datadog/tracing/contrib/action_pack/patcher.rb +++ b/lib/datadog/tracing/contrib/action_pack/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'action_controller/patcher' diff --git a/lib/datadog/tracing/contrib/action_pack/utils.rb b/lib/datadog/tracing/contrib/action_pack/utils.rb index ca2943e1ac2..752b1ad3e27 100644 --- a/lib/datadog/tracing/contrib/action_pack/utils.rb +++ b/lib/datadog/tracing/contrib/action_pack/utils.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/action_view/configuration/settings.rb b/lib/datadog/tracing/contrib/action_view/configuration/settings.rb index 68c48f90899..c01cc53521a 100644 --- a/lib/datadog/tracing/contrib/action_view/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/action_view/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_view/event.rb b/lib/datadog/tracing/contrib/action_view/event.rb index f74ed578a78..a6b4d92b70a 100644 --- a/lib/datadog/tracing/contrib/action_view/event.rb +++ b/lib/datadog/tracing/contrib/action_view/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../active_support/notifications/event' module Datadog diff --git a/lib/datadog/tracing/contrib/action_view/events.rb b/lib/datadog/tracing/contrib/action_view/events.rb index c53a1d51eec..65c918ac0f2 100644 --- a/lib/datadog/tracing/contrib/action_view/events.rb +++ b/lib/datadog/tracing/contrib/action_view/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/render_partial' require_relative 'events/render_template' diff --git a/lib/datadog/tracing/contrib/action_view/events/render_partial.rb b/lib/datadog/tracing/contrib/action_view/events/render_partial.rb index a7029523c75..56015628307 100644 --- a/lib/datadog/tracing/contrib/action_view/events/render_partial.rb +++ b/lib/datadog/tracing/contrib/action_view/events/render_partial.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing' require_relative '../../../metadata/ext' require_relative '../../analytics' diff --git a/lib/datadog/tracing/contrib/action_view/events/render_template.rb b/lib/datadog/tracing/contrib/action_view/events/render_template.rb index 13df65ab8ee..576a855869d 100644 --- a/lib/datadog/tracing/contrib/action_view/events/render_template.rb +++ b/lib/datadog/tracing/contrib/action_view/events/render_template.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing' require_relative '../../../metadata/ext' require_relative '../../analytics' diff --git a/lib/datadog/tracing/contrib/action_view/ext.rb b/lib/datadog/tracing/contrib/action_view/ext.rb index c4096b7209a..eea94608eed 100644 --- a/lib/datadog/tracing/contrib/action_view/ext.rb +++ b/lib/datadog/tracing/contrib/action_view/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb b/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb index c1787c4778e..f1656886ed4 100644 --- a/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb +++ b/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb b/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb index 1e8ecf23098..b023e3e41ed 100644 --- a/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb +++ b/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/action_view/integration.rb b/lib/datadog/tracing/contrib/action_view/integration.rb index 6dd2e6cab76..ad263579d38 100644 --- a/lib/datadog/tracing/contrib/action_view/integration.rb +++ b/lib/datadog/tracing/contrib/action_view/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' diff --git a/lib/datadog/tracing/contrib/action_view/patcher.rb b/lib/datadog/tracing/contrib/action_view/patcher.rb index 29fe982c88c..db554731d9b 100644 --- a/lib/datadog/tracing/contrib/action_view/patcher.rb +++ b/lib/datadog/tracing/contrib/action_view/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core' require_relative '../patcher' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/action_view/utils.rb b/lib/datadog/tracing/contrib/action_view/utils.rb index 4433ae4940e..69a5341b4dd 100644 --- a/lib/datadog/tracing/contrib/action_view/utils.rb +++ b/lib/datadog/tracing/contrib/action_view/utils.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/active_job/configuration/settings.rb b/lib/datadog/tracing/contrib/active_job/configuration/settings.rb index ecd9c9dbc48..dc93d41c8bb 100644 --- a/lib/datadog/tracing/contrib/active_job/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/active_job/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../ext' require_relative '../../configuration/settings' diff --git a/lib/datadog/tracing/contrib/active_job/event.rb b/lib/datadog/tracing/contrib/active_job/event.rb index d5bbfcd28b3..ff8ab7cd4f4 100644 --- a/lib/datadog/tracing/contrib/active_job/event.rb +++ b/lib/datadog/tracing/contrib/active_job/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../active_support/notifications/event' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/active_job/events.rb b/lib/datadog/tracing/contrib/active_job/events.rb index a04539c74dd..dbd8a8317f2 100644 --- a/lib/datadog/tracing/contrib/active_job/events.rb +++ b/lib/datadog/tracing/contrib/active_job/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/discard' require_relative 'events/enqueue' require_relative 'events/enqueue_at' diff --git a/lib/datadog/tracing/contrib/active_job/events/discard.rb b/lib/datadog/tracing/contrib/active_job/events/discard.rb index 13432cede2b..910bd891a70 100644 --- a/lib/datadog/tracing/contrib/active_job/events/discard.rb +++ b/lib/datadog/tracing/contrib/active_job/events/discard.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/events/enqueue.rb b/lib/datadog/tracing/contrib/active_job/events/enqueue.rb index e33cf5ff398..29f234881b4 100644 --- a/lib/datadog/tracing/contrib/active_job/events/enqueue.rb +++ b/lib/datadog/tracing/contrib/active_job/events/enqueue.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb b/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb index 9d0fde2b83d..d33143cba63 100644 --- a/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb +++ b/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb b/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb index 202f7b5169f..ee34f6deec0 100644 --- a/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb +++ b/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/events/perform.rb b/lib/datadog/tracing/contrib/active_job/events/perform.rb index 9d8768ac081..e69003acf0e 100644 --- a/lib/datadog/tracing/contrib/active_job/events/perform.rb +++ b/lib/datadog/tracing/contrib/active_job/events/perform.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb b/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb index 7a8096f346a..f149ce8af18 100644 --- a/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb +++ b/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_job/ext.rb b/lib/datadog/tracing/contrib/active_job/ext.rb index 866bd1ba164..6af255f2b6f 100644 --- a/lib/datadog/tracing/contrib/active_job/ext.rb +++ b/lib/datadog/tracing/contrib/active_job/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_job/integration.rb b/lib/datadog/tracing/contrib/active_job/integration.rb index e89ed34e50d..a34f7706959 100644 --- a/lib/datadog/tracing/contrib/active_job/integration.rb +++ b/lib/datadog/tracing/contrib/active_job/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'configuration/settings' require_relative 'patcher' require_relative '../integration' diff --git a/lib/datadog/tracing/contrib/active_job/log_injection.rb b/lib/datadog/tracing/contrib/active_job/log_injection.rb index e7bfc35356b..d2dd69f062e 100644 --- a/lib/datadog/tracing/contrib/active_job/log_injection.rb +++ b/lib/datadog/tracing/contrib/active_job/log_injection.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_job/patcher.rb b/lib/datadog/tracing/contrib/active_job/patcher.rb index 7f6aa0f9006..9e2297cb435 100644 --- a/lib/datadog/tracing/contrib/active_job/patcher.rb +++ b/lib/datadog/tracing/contrib/active_job/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb b/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb index d7094289278..959e565e643 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/event.rb b/lib/datadog/tracing/contrib/active_model_serializers/event.rb index 8bddda45147..71539022de4 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/event.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../analytics' require_relative '../active_support/notifications/event' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/events.rb b/lib/datadog/tracing/contrib/active_model_serializers/events.rb index 13c377c963e..ee5a0ecb6fb 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/events.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/render' require_relative 'events/serialize' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb b/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb index a3cb771602c..91365af636f 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb b/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb index bf601cd34f8..c621398fabc 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/ext.rb b/lib/datadog/tracing/contrib/active_model_serializers/ext.rb index b4f7933bd2e..8a519596495 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/ext.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_model_serializers/integration.rb b/lib/datadog/tracing/contrib/active_model_serializers/integration.rb index 5d3478f816c..914d410e452 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/integration.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb b/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb index c9c0465bddc..41006e4764a 100644 --- a/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb +++ b/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb b/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb index f91b21cf263..073f922d8bc 100644 --- a/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb +++ b/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb b/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb index afa4cf6e887..e2c6e7bdc4c 100644 --- a/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb +++ b/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/resolver' require_relative '../vendor/connection_specification' require_relative 'makara_resolver' diff --git a/lib/datadog/tracing/contrib/active_record/configuration/settings.rb b/lib/datadog/tracing/contrib/active_record/configuration/settings.rb index 55f381b22ab..f5c0b4a625d 100644 --- a/lib/datadog/tracing/contrib/active_record/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/active_record/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' require_relative '../utils' diff --git a/lib/datadog/tracing/contrib/active_record/event.rb b/lib/datadog/tracing/contrib/active_record/event.rb index 1cd80a3059a..59b552c5ac4 100644 --- a/lib/datadog/tracing/contrib/active_record/event.rb +++ b/lib/datadog/tracing/contrib/active_record/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../active_support/notifications/event' module Datadog diff --git a/lib/datadog/tracing/contrib/active_record/events.rb b/lib/datadog/tracing/contrib/active_record/events.rb index ac4f8fd88cf..64905a27b52 100644 --- a/lib/datadog/tracing/contrib/active_record/events.rb +++ b/lib/datadog/tracing/contrib/active_record/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/instantiation' require_relative 'events/sql' diff --git a/lib/datadog/tracing/contrib/active_record/events/instantiation.rb b/lib/datadog/tracing/contrib/active_record/events/instantiation.rb index 63f590ea5bb..7e529c1e78d 100644 --- a/lib/datadog/tracing/contrib/active_record/events/instantiation.rb +++ b/lib/datadog/tracing/contrib/active_record/events/instantiation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../metadata/ext' require_relative '../../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_record/events/sql.rb b/lib/datadog/tracing/contrib/active_record/events/sql.rb index 6dedb2cfdf6..7e998c07f75 100644 --- a/lib/datadog/tracing/contrib/active_record/events/sql.rb +++ b/lib/datadog/tracing/contrib/active_record/events/sql.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../tracing' require_relative '../../../metadata/ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/active_record/ext.rb b/lib/datadog/tracing/contrib/active_record/ext.rb index dc8021d4f50..b7f3fce72ba 100644 --- a/lib/datadog/tracing/contrib/active_record/ext.rb +++ b/lib/datadog/tracing/contrib/active_record/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_record/integration.rb b/lib/datadog/tracing/contrib/active_record/integration.rb index 634e869b89b..1d3e45b4993 100644 --- a/lib/datadog/tracing/contrib/active_record/integration.rb +++ b/lib/datadog/tracing/contrib/active_record/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'configuration/resolver' require_relative 'configuration/settings' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/active_record/patcher.rb b/lib/datadog/tracing/contrib/active_record/patcher.rb index 7b1b62c5030..7c3d322883f 100644 --- a/lib/datadog/tracing/contrib/active_record/patcher.rb +++ b/lib/datadog/tracing/contrib/active_record/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/active_record/utils.rb b/lib/datadog/tracing/contrib/active_record/utils.rb index a4646dafad3..4187345bb18 100644 --- a/lib/datadog/tracing/contrib/active_record/utils.rb +++ b/lib/datadog/tracing/contrib/active_record/utils.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../core/environment/ext' require_relative '../utils/database' diff --git a/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb b/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb index 6d16674484b..0688c477882 100644 --- a/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb +++ b/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' # NOTE: This code is copied directly from ActiveRecord. diff --git a/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb b/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb index 6493933a728..98d2109fe8e 100644 --- a/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb +++ b/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../../core/utils' require_relative '../../../metadata/ext' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_support/cache/patcher.rb b/lib/datadog/tracing/contrib/active_support/cache/patcher.rb index 91be736635c..04153b553c7 100644 --- a/lib/datadog/tracing/contrib/active_support/cache/patcher.rb +++ b/lib/datadog/tracing/contrib/active_support/cache/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/active_support/cache/redis.rb b/lib/datadog/tracing/contrib/active_support/cache/redis.rb index 4983bfb8e19..6400eeee9c1 100644 --- a/lib/datadog/tracing/contrib/active_support/cache/redis.rb +++ b/lib/datadog/tracing/contrib/active_support/cache/redis.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/active_support/configuration/settings.rb b/lib/datadog/tracing/contrib/active_support/configuration/settings.rb index b4efb2accbb..682b51863ed 100644 --- a/lib/datadog/tracing/contrib/active_support/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/active_support/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/active_support/ext.rb b/lib/datadog/tracing/contrib/active_support/ext.rb index 4ee3a445483..191e9b7a244 100644 --- a/lib/datadog/tracing/contrib/active_support/ext.rb +++ b/lib/datadog/tracing/contrib/active_support/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_support/integration.rb b/lib/datadog/tracing/contrib/active_support/integration.rb index ccce70d6dd2..49806b828f5 100644 --- a/lib/datadog/tracing/contrib/active_support/integration.rb +++ b/lib/datadog/tracing/contrib/active_support/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/active_support/notifications/event.rb b/lib/datadog/tracing/contrib/active_support/notifications/event.rb index 46ed5af126e..cf6b1022a43 100644 --- a/lib/datadog/tracing/contrib/active_support/notifications/event.rb +++ b/lib/datadog/tracing/contrib/active_support/notifications/event.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'subscriber' module Datadog diff --git a/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb b/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb index e14c266aeb0..8a6c515830c 100644 --- a/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb +++ b/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb @@ -1,5 +1,3 @@ -# typed: true - require 'set' require_relative 'subscription' diff --git a/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb b/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb index d1f80173aec..b27bc87733b 100644 --- a/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb +++ b/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/active_support/patcher.rb b/lib/datadog/tracing/contrib/active_support/patcher.rb index c66719acd2e..7bb420e4cfa 100644 --- a/lib/datadog/tracing/contrib/active_support/patcher.rb +++ b/lib/datadog/tracing/contrib/active_support/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'cache/patcher' diff --git a/lib/datadog/tracing/contrib/analytics.rb b/lib/datadog/tracing/contrib/analytics.rb index ffe5d0b731c..d0198fffd2a 100644 --- a/lib/datadog/tracing/contrib/analytics.rb +++ b/lib/datadog/tracing/contrib/analytics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/auto_instrument.rb b/lib/datadog/tracing/contrib/auto_instrument.rb index 35cea614331..d48f6060333 100644 --- a/lib/datadog/tracing/contrib/auto_instrument.rb +++ b/lib/datadog/tracing/contrib/auto_instrument.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../contrib' require_relative 'extensions' diff --git a/lib/datadog/tracing/contrib/aws/configuration/settings.rb b/lib/datadog/tracing/contrib/aws/configuration/settings.rb index 84d7190d1dd..372d2da10f5 100644 --- a/lib/datadog/tracing/contrib/aws/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/aws/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/aws/ext.rb b/lib/datadog/tracing/contrib/aws/ext.rb index 5938857a4b5..fb5948db13c 100644 --- a/lib/datadog/tracing/contrib/aws/ext.rb +++ b/lib/datadog/tracing/contrib/aws/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/aws/instrumentation.rb b/lib/datadog/tracing/contrib/aws/instrumentation.rb index 8ff7b03049c..b05dfc73a32 100644 --- a/lib/datadog/tracing/contrib/aws/instrumentation.rb +++ b/lib/datadog/tracing/contrib/aws/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/aws/integration.rb b/lib/datadog/tracing/contrib/aws/integration.rb index 2fcc2e6b3ac..1a5accf4604 100644 --- a/lib/datadog/tracing/contrib/aws/integration.rb +++ b/lib/datadog/tracing/contrib/aws/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/aws/parsed_context.rb b/lib/datadog/tracing/contrib/aws/parsed_context.rb index 0fc7deabbbb..4e828241652 100644 --- a/lib/datadog/tracing/contrib/aws/parsed_context.rb +++ b/lib/datadog/tracing/contrib/aws/parsed_context.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/aws/patcher.rb b/lib/datadog/tracing/contrib/aws/patcher.rb index 7cb9587024d..bafc3525634 100644 --- a/lib/datadog/tracing/contrib/aws/patcher.rb +++ b/lib/datadog/tracing/contrib/aws/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/aws/services.rb b/lib/datadog/tracing/contrib/aws/services.rb index b775aa19cae..ca55ddf3dbf 100644 --- a/lib/datadog/tracing/contrib/aws/services.rb +++ b/lib/datadog/tracing/contrib/aws/services.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb b/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb index f3567739490..f3d9ad6720a 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb b/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb index 1f88396d0ac..f5b454c4cc6 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb @@ -1,5 +1,3 @@ -# typed: true - require 'concurrent/executor/executor_service' module Datadog diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb b/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb index fbe5092799f..e7ae5877111 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb b/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb index 30a7941d087..f075100f4fc 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'context_composite_executor_service' module Datadog diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb b/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb index b19839037e9..f4df4233dab 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'patcher' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb b/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb index 340c0fd3809..06d18d5ccef 100644 --- a/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb +++ b/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/configurable.rb b/lib/datadog/tracing/contrib/configurable.rb index 472c7ea9f52..672f427ea45 100644 --- a/lib/datadog/tracing/contrib/configurable.rb +++ b/lib/datadog/tracing/contrib/configurable.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'configuration/resolver' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/configuration/resolver.rb b/lib/datadog/tracing/contrib/configuration/resolver.rb index 903b109455d..0e03ac5f2ff 100644 --- a/lib/datadog/tracing/contrib/configuration/resolver.rb +++ b/lib/datadog/tracing/contrib/configuration/resolver.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb b/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb index 79ca05b97f7..e3e69cb03a7 100644 --- a/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb +++ b/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../resolver' module Datadog diff --git a/lib/datadog/tracing/contrib/configuration/settings.rb b/lib/datadog/tracing/contrib/configuration/settings.rb index a2daf69e2af..90170c0cc5e 100644 --- a/lib/datadog/tracing/contrib/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../core/configuration/base' require_relative '../../../core/utils/only_once' diff --git a/lib/datadog/tracing/contrib/dalli/configuration/settings.rb b/lib/datadog/tracing/contrib/dalli/configuration/settings.rb index cea23452c1e..0eb5656857c 100644 --- a/lib/datadog/tracing/contrib/dalli/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/dalli/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/dalli/ext.rb b/lib/datadog/tracing/contrib/dalli/ext.rb index b73a5bb0b26..c8ecdad97b5 100644 --- a/lib/datadog/tracing/contrib/dalli/ext.rb +++ b/lib/datadog/tracing/contrib/dalli/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/dalli/instrumentation.rb b/lib/datadog/tracing/contrib/dalli/instrumentation.rb index f0d7c815477..91f19be8759 100644 --- a/lib/datadog/tracing/contrib/dalli/instrumentation.rb +++ b/lib/datadog/tracing/contrib/dalli/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/dalli/integration.rb b/lib/datadog/tracing/contrib/dalli/integration.rb index c9d901c051e..717a001cdb7 100644 --- a/lib/datadog/tracing/contrib/dalli/integration.rb +++ b/lib/datadog/tracing/contrib/dalli/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/dalli/patcher.rb b/lib/datadog/tracing/contrib/dalli/patcher.rb index 336c1a643cc..01075ca667e 100644 --- a/lib/datadog/tracing/contrib/dalli/patcher.rb +++ b/lib/datadog/tracing/contrib/dalli/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative 'instrumentation' require_relative '../patcher' diff --git a/lib/datadog/tracing/contrib/dalli/quantize.rb b/lib/datadog/tracing/contrib/dalli/quantize.rb index c5fca2686df..6df12264f40 100644 --- a/lib/datadog/tracing/contrib/dalli/quantize.rb +++ b/lib/datadog/tracing/contrib/dalli/quantize.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' module Datadog diff --git a/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb b/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb index e460c671c23..9cfbd79a7f9 100644 --- a/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/delayed_job/ext.rb b/lib/datadog/tracing/contrib/delayed_job/ext.rb index 69894c321f4..c0d5e026c43 100644 --- a/lib/datadog/tracing/contrib/delayed_job/ext.rb +++ b/lib/datadog/tracing/contrib/delayed_job/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/delayed_job/integration.rb b/lib/datadog/tracing/contrib/delayed_job/integration.rb index d68ba57b708..e83c1fc8a66 100644 --- a/lib/datadog/tracing/contrib/delayed_job/integration.rb +++ b/lib/datadog/tracing/contrib/delayed_job/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/delayed_job/patcher.rb b/lib/datadog/tracing/contrib/delayed_job/patcher.rb index ca5a9ca0fcf..c764dfb3532 100644 --- a/lib/datadog/tracing/contrib/delayed_job/patcher.rb +++ b/lib/datadog/tracing/contrib/delayed_job/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/delayed_job/plugin.rb b/lib/datadog/tracing/contrib/delayed_job/plugin.rb index 53e71d84538..0739f2ef5aa 100644 --- a/lib/datadog/tracing/contrib/delayed_job/plugin.rb +++ b/lib/datadog/tracing/contrib/delayed_job/plugin.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'delayed/plugin' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/delayed_job/server_internal_tracer/worker.rb b/lib/datadog/tracing/contrib/delayed_job/server_internal_tracer/worker.rb index 41380ef4e53..178fac429af 100644 --- a/lib/datadog/tracing/contrib/delayed_job/server_internal_tracer/worker.rb +++ b/lib/datadog/tracing/contrib/delayed_job/server_internal_tracer/worker.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb b/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb index c5a94a02ac1..d53ec25253d 100644 --- a/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/elasticsearch/ext.rb b/lib/datadog/tracing/contrib/elasticsearch/ext.rb index 704ee3e8807..224a3289d1b 100644 --- a/lib/datadog/tracing/contrib/elasticsearch/ext.rb +++ b/lib/datadog/tracing/contrib/elasticsearch/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/elasticsearch/integration.rb b/lib/datadog/tracing/contrib/elasticsearch/integration.rb index 9fe53b4211b..c06819b53ec 100644 --- a/lib/datadog/tracing/contrib/elasticsearch/integration.rb +++ b/lib/datadog/tracing/contrib/elasticsearch/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/elasticsearch/patcher.rb b/lib/datadog/tracing/contrib/elasticsearch/patcher.rb index c15e1d4fab1..efa380fe874 100644 --- a/lib/datadog/tracing/contrib/elasticsearch/patcher.rb +++ b/lib/datadog/tracing/contrib/elasticsearch/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/elasticsearch/quantize.rb b/lib/datadog/tracing/contrib/elasticsearch/quantize.rb index 946e8e8d49a..a9d7a7c0512 100644 --- a/lib/datadog/tracing/contrib/elasticsearch/quantize.rb +++ b/lib/datadog/tracing/contrib/elasticsearch/quantize.rb @@ -1,7 +1,5 @@ require_relative '../utils/quantization/hash' -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/ethon/configuration/settings.rb b/lib/datadog/tracing/contrib/ethon/configuration/settings.rb index bea2d12171d..83c444e1fdb 100644 --- a/lib/datadog/tracing/contrib/ethon/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/ethon/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/ethon/easy_patch.rb b/lib/datadog/tracing/contrib/ethon/easy_patch.rb index 5bd9a6d65f2..2ddb10ec624 100644 --- a/lib/datadog/tracing/contrib/ethon/easy_patch.rb +++ b/lib/datadog/tracing/contrib/ethon/easy_patch.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/ethon/ext.rb b/lib/datadog/tracing/contrib/ethon/ext.rb index ee3d6251bed..3699676fa43 100644 --- a/lib/datadog/tracing/contrib/ethon/ext.rb +++ b/lib/datadog/tracing/contrib/ethon/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/ethon/integration.rb b/lib/datadog/tracing/contrib/ethon/integration.rb index 993e5a948a5..26d2d689672 100644 --- a/lib/datadog/tracing/contrib/ethon/integration.rb +++ b/lib/datadog/tracing/contrib/ethon/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative '../configuration/resolvers/pattern_resolver' diff --git a/lib/datadog/tracing/contrib/ethon/multi_patch.rb b/lib/datadog/tracing/contrib/ethon/multi_patch.rb index 1e6362a87da..32717b18c23 100644 --- a/lib/datadog/tracing/contrib/ethon/multi_patch.rb +++ b/lib/datadog/tracing/contrib/ethon/multi_patch.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../../propagation/http' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/ethon/patcher.rb b/lib/datadog/tracing/contrib/ethon/patcher.rb index 39f60a73193..84b67c9e034 100644 --- a/lib/datadog/tracing/contrib/ethon/patcher.rb +++ b/lib/datadog/tracing/contrib/ethon/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/excon/configuration/settings.rb b/lib/datadog/tracing/contrib/excon/configuration/settings.rb index db8ca40a4b2..ccd1508a39c 100644 --- a/lib/datadog/tracing/contrib/excon/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/excon/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/excon/ext.rb b/lib/datadog/tracing/contrib/excon/ext.rb index 82c9637a1d8..bab5b71af30 100644 --- a/lib/datadog/tracing/contrib/excon/ext.rb +++ b/lib/datadog/tracing/contrib/excon/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/excon/integration.rb b/lib/datadog/tracing/contrib/excon/integration.rb index 4600d55cd65..b9e8a697ca7 100644 --- a/lib/datadog/tracing/contrib/excon/integration.rb +++ b/lib/datadog/tracing/contrib/excon/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative '../configuration/resolvers/pattern_resolver' diff --git a/lib/datadog/tracing/contrib/excon/middleware.rb b/lib/datadog/tracing/contrib/excon/middleware.rb index dfbf0f01df2..2d998acb0cc 100644 --- a/lib/datadog/tracing/contrib/excon/middleware.rb +++ b/lib/datadog/tracing/contrib/excon/middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'excon' require_relative '../../../core' diff --git a/lib/datadog/tracing/contrib/excon/patcher.rb b/lib/datadog/tracing/contrib/excon/patcher.rb index 29040c6afa1..781af3f5ba5 100644 --- a/lib/datadog/tracing/contrib/excon/patcher.rb +++ b/lib/datadog/tracing/contrib/excon/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/extensions.rb b/lib/datadog/tracing/contrib/extensions.rb index 773e7858961..4f10265637d 100644 --- a/lib/datadog/tracing/contrib/extensions.rb +++ b/lib/datadog/tracing/contrib/extensions.rb @@ -1,5 +1,3 @@ -# typed: false - require 'set' require_relative '../../core/configuration/settings' diff --git a/lib/datadog/tracing/contrib/faraday/configuration/settings.rb b/lib/datadog/tracing/contrib/faraday/configuration/settings.rb index df4e79b5824..9478e39f628 100644 --- a/lib/datadog/tracing/contrib/faraday/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/faraday/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/faraday/connection.rb b/lib/datadog/tracing/contrib/faraday/connection.rb index 78ac2203210..c894a1fa99e 100644 --- a/lib/datadog/tracing/contrib/faraday/connection.rb +++ b/lib/datadog/tracing/contrib/faraday/connection.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/faraday/ext.rb b/lib/datadog/tracing/contrib/faraday/ext.rb index 9f8f4993c5d..ae800ceef16 100644 --- a/lib/datadog/tracing/contrib/faraday/ext.rb +++ b/lib/datadog/tracing/contrib/faraday/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/faraday/integration.rb b/lib/datadog/tracing/contrib/faraday/integration.rb index 59bd9c81020..b3fc973f43e 100644 --- a/lib/datadog/tracing/contrib/faraday/integration.rb +++ b/lib/datadog/tracing/contrib/faraday/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative '../configuration/resolvers/pattern_resolver' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/faraday/middleware.rb b/lib/datadog/tracing/contrib/faraday/middleware.rb index 5d0518a16d0..00b38ceda55 100644 --- a/lib/datadog/tracing/contrib/faraday/middleware.rb +++ b/lib/datadog/tracing/contrib/faraday/middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'faraday' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/faraday/patcher.rb b/lib/datadog/tracing/contrib/faraday/patcher.rb index ba7e611a762..c19e7c2c52e 100644 --- a/lib/datadog/tracing/contrib/faraday/patcher.rb +++ b/lib/datadog/tracing/contrib/faraday/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'connection' require_relative 'ext' require_relative 'rack_builder' diff --git a/lib/datadog/tracing/contrib/faraday/rack_builder.rb b/lib/datadog/tracing/contrib/faraday/rack_builder.rb index 7c2da7120b3..4362cbb2724 100644 --- a/lib/datadog/tracing/contrib/faraday/rack_builder.rb +++ b/lib/datadog/tracing/contrib/faraday/rack_builder.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/grape/configuration/settings.rb b/lib/datadog/tracing/contrib/grape/configuration/settings.rb index 8478824d5f0..4c0b87b219d 100644 --- a/lib/datadog/tracing/contrib/grape/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/grape/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' require_relative '../../status_code_matcher' diff --git a/lib/datadog/tracing/contrib/grape/endpoint.rb b/lib/datadog/tracing/contrib/grape/endpoint.rb index c5aee1fa566..3231b853074 100644 --- a/lib/datadog/tracing/contrib/grape/endpoint.rb +++ b/lib/datadog/tracing/contrib/grape/endpoint.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../core' require_relative '../../metadata/ext' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/grape/ext.rb b/lib/datadog/tracing/contrib/grape/ext.rb index aa8dbc626f8..97ea80adba7 100644 --- a/lib/datadog/tracing/contrib/grape/ext.rb +++ b/lib/datadog/tracing/contrib/grape/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/grape/instrumentation.rb b/lib/datadog/tracing/contrib/grape/instrumentation.rb index f2bd469df96..da5b730d79e 100644 --- a/lib/datadog/tracing/contrib/grape/instrumentation.rb +++ b/lib/datadog/tracing/contrib/grape/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/grape/integration.rb b/lib/datadog/tracing/contrib/grape/integration.rb index 24774833de3..d65b911ce6c 100644 --- a/lib/datadog/tracing/contrib/grape/integration.rb +++ b/lib/datadog/tracing/contrib/grape/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/grape/patcher.rb b/lib/datadog/tracing/contrib/grape/patcher.rb index 0dcef26b165..8fe93e9f8b9 100644 --- a/lib/datadog/tracing/contrib/grape/patcher.rb +++ b/lib/datadog/tracing/contrib/grape/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'endpoint' require_relative 'ext' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/graphql/configuration/settings.rb b/lib/datadog/tracing/contrib/graphql/configuration/settings.rb index a0ff5fd8300..379d1a34d9f 100644 --- a/lib/datadog/tracing/contrib/graphql/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/graphql/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/graphql/ext.rb b/lib/datadog/tracing/contrib/graphql/ext.rb index 50064b5578d..ea7240a57f3 100644 --- a/lib/datadog/tracing/contrib/graphql/ext.rb +++ b/lib/datadog/tracing/contrib/graphql/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/graphql/integration.rb b/lib/datadog/tracing/contrib/graphql/integration.rb index 8503b554af1..473df4e5c9a 100644 --- a/lib/datadog/tracing/contrib/graphql/integration.rb +++ b/lib/datadog/tracing/contrib/graphql/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/graphql/patcher.rb b/lib/datadog/tracing/contrib/graphql/patcher.rb index f9566aa65f7..0bf5771bc4e 100644 --- a/lib/datadog/tracing/contrib/graphql/patcher.rb +++ b/lib/datadog/tracing/contrib/graphql/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../analytics' require_relative '../patcher' diff --git a/lib/datadog/tracing/contrib/grpc/configuration/settings.rb b/lib/datadog/tracing/contrib/grpc/configuration/settings.rb index aced6a19090..f3436dd001b 100644 --- a/lib/datadog/tracing/contrib/grpc/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/grpc/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb b/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb index f35bc85be9e..e3677c8f7d5 100644 --- a/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb +++ b/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../analytics' require_relative 'ext' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb b/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb index 61e77a24a3d..5d57bc612d8 100644 --- a/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb +++ b/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../../tracing' require_relative '../../../metadata/ext' require_relative '../distributed/propagation' diff --git a/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb b/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb index c781ef2895d..bec7a23a333 100644 --- a/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb +++ b/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../../tracing' require_relative '../../../metadata/ext' require_relative '../distributed/propagation' diff --git a/lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb b/lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb index 0b80fa69149..43fc9f05041 100644 --- a/lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb +++ b/lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative '../../../distributed/fetcher' diff --git a/lib/datadog/tracing/contrib/grpc/distributed/propagation.rb b/lib/datadog/tracing/contrib/grpc/distributed/propagation.rb index 53621d7059a..2f598492b66 100644 --- a/lib/datadog/tracing/contrib/grpc/distributed/propagation.rb +++ b/lib/datadog/tracing/contrib/grpc/distributed/propagation.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'fetcher' require_relative '../../../distributed/b3_multi' diff --git a/lib/datadog/tracing/contrib/grpc/ext.rb b/lib/datadog/tracing/contrib/grpc/ext.rb index ead7c426208..8ed319c3deb 100644 --- a/lib/datadog/tracing/contrib/grpc/ext.rb +++ b/lib/datadog/tracing/contrib/grpc/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/grpc/integration.rb b/lib/datadog/tracing/contrib/grpc/integration.rb index e8d48f96a0e..3dea7681168 100644 --- a/lib/datadog/tracing/contrib/grpc/integration.rb +++ b/lib/datadog/tracing/contrib/grpc/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb b/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb index 2c013fb0996..8ff71c2b080 100644 --- a/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb +++ b/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'datadog_interceptor' module Datadog diff --git a/lib/datadog/tracing/contrib/grpc/patcher.rb b/lib/datadog/tracing/contrib/grpc/patcher.rb index 077a74fa21c..8b5a8c467ee 100644 --- a/lib/datadog/tracing/contrib/grpc/patcher.rb +++ b/lib/datadog/tracing/contrib/grpc/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative '../patcher' diff --git a/lib/datadog/tracing/contrib/hanami/action_tracer.rb b/lib/datadog/tracing/contrib/hanami/action_tracer.rb index eb64823cfc4..16bf7885c16 100644 --- a/lib/datadog/tracing/contrib/hanami/action_tracer.rb +++ b/lib/datadog/tracing/contrib/hanami/action_tracer.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/hanami/configuration/settings.rb b/lib/datadog/tracing/contrib/hanami/configuration/settings.rb index 32bd831e818..e08b66a4a7e 100644 --- a/lib/datadog/tracing/contrib/hanami/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/hanami/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/hanami/ext.rb b/lib/datadog/tracing/contrib/hanami/ext.rb index 4a883a6af12..5fb2893c4d7 100644 --- a/lib/datadog/tracing/contrib/hanami/ext.rb +++ b/lib/datadog/tracing/contrib/hanami/ext.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/hanami/integration.rb b/lib/datadog/tracing/contrib/hanami/integration.rb index b7ba0f91e93..0035a2ce091 100644 --- a/lib/datadog/tracing/contrib/hanami/integration.rb +++ b/lib/datadog/tracing/contrib/hanami/integration.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/hanami/patcher.rb b/lib/datadog/tracing/contrib/hanami/patcher.rb index 16466aa214c..64797fcb267 100644 --- a/lib/datadog/tracing/contrib/hanami/patcher.rb +++ b/lib/datadog/tracing/contrib/hanami/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../patcher' require_relative 'action_tracer' require_relative 'renderer_policy_tracing' diff --git a/lib/datadog/tracing/contrib/hanami/plugin.rb b/lib/datadog/tracing/contrib/hanami/plugin.rb index 72d6d2db2b2..9cbbc201753 100644 --- a/lib/datadog/tracing/contrib/hanami/plugin.rb +++ b/lib/datadog/tracing/contrib/hanami/plugin.rb @@ -1,5 +1,3 @@ -# typed: ignore - ::Hanami.plugin do Datadog.configure do |c| c.tracing.instrument :rack diff --git a/lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb b/lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb index a6cf70a748d..a7ba3a2005f 100644 --- a/lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb +++ b/lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'ext' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/hanami/router_tracing.rb b/lib/datadog/tracing/contrib/hanami/router_tracing.rb index 829df4875b2..656a41c497a 100644 --- a/lib/datadog/tracing/contrib/hanami/router_tracing.rb +++ b/lib/datadog/tracing/contrib/hanami/router_tracing.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'ext' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/http/circuit_breaker.rb b/lib/datadog/tracing/contrib/http/circuit_breaker.rb index 139a5623a7d..fca8d968c4b 100644 --- a/lib/datadog/tracing/contrib/http/circuit_breaker.rb +++ b/lib/datadog/tracing/contrib/http/circuit_breaker.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../../ddtrace/transport/ext' module Datadog diff --git a/lib/datadog/tracing/contrib/http/configuration/settings.rb b/lib/datadog/tracing/contrib/http/configuration/settings.rb index 39ce7ddcd26..0672dd8b94a 100644 --- a/lib/datadog/tracing/contrib/http/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/http/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/http/distributed/fetcher.rb b/lib/datadog/tracing/contrib/http/distributed/fetcher.rb index dc58f0491ca..401c4908d34 100644 --- a/lib/datadog/tracing/contrib/http/distributed/fetcher.rb +++ b/lib/datadog/tracing/contrib/http/distributed/fetcher.rb @@ -1,5 +1,4 @@ # frozen_string_literal: false -# typed: false require_relative '../../../distributed/fetcher' diff --git a/lib/datadog/tracing/contrib/http/distributed/propagation.rb b/lib/datadog/tracing/contrib/http/distributed/propagation.rb index 1924721e737..04d4e4e9a7b 100644 --- a/lib/datadog/tracing/contrib/http/distributed/propagation.rb +++ b/lib/datadog/tracing/contrib/http/distributed/propagation.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'fetcher' require_relative '../../../distributed/propagation' diff --git a/lib/datadog/tracing/contrib/http/ext.rb b/lib/datadog/tracing/contrib/http/ext.rb index fc85ec19d85..bad45e169f3 100644 --- a/lib/datadog/tracing/contrib/http/ext.rb +++ b/lib/datadog/tracing/contrib/http/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/http/instrumentation.rb b/lib/datadog/tracing/contrib/http/instrumentation.rb index d81286f5fb7..0749a6762e1 100644 --- a/lib/datadog/tracing/contrib/http/instrumentation.rb +++ b/lib/datadog/tracing/contrib/http/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/http/integration.rb b/lib/datadog/tracing/contrib/http/integration.rb index bc9297d99c7..1a38e460f54 100644 --- a/lib/datadog/tracing/contrib/http/integration.rb +++ b/lib/datadog/tracing/contrib/http/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../configuration/resolvers/pattern_resolver' require_relative 'circuit_breaker' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/http/patcher.rb b/lib/datadog/tracing/contrib/http/patcher.rb index 35f6b519998..79fa51ed8b7 100644 --- a/lib/datadog/tracing/contrib/http/patcher.rb +++ b/lib/datadog/tracing/contrib/http/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/http_annotation_helper.rb b/lib/datadog/tracing/contrib/http_annotation_helper.rb index 91c7ae385cd..343448a0e6f 100644 --- a/lib/datadog/tracing/contrib/http_annotation_helper.rb +++ b/lib/datadog/tracing/contrib/http_annotation_helper.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb b/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb index 262af34bbc7..ce9c02ede62 100644 --- a/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/httpclient/ext.rb b/lib/datadog/tracing/contrib/httpclient/ext.rb index 97a0a99021b..fa1f8474d0c 100644 --- a/lib/datadog/tracing/contrib/httpclient/ext.rb +++ b/lib/datadog/tracing/contrib/httpclient/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/httpclient/instrumentation.rb b/lib/datadog/tracing/contrib/httpclient/instrumentation.rb index b2d8c6fa1c5..1e8de01a7f4 100644 --- a/lib/datadog/tracing/contrib/httpclient/instrumentation.rb +++ b/lib/datadog/tracing/contrib/httpclient/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../../propagation/http' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/httpclient/integration.rb b/lib/datadog/tracing/contrib/httpclient/integration.rb index 4bf8ce9cf14..d1f5f8fae6e 100644 --- a/lib/datadog/tracing/contrib/httpclient/integration.rb +++ b/lib/datadog/tracing/contrib/httpclient/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative '../configuration/resolvers/pattern_resolver' diff --git a/lib/datadog/tracing/contrib/httpclient/patcher.rb b/lib/datadog/tracing/contrib/httpclient/patcher.rb index e2d6b561c74..79a58bafb17 100644 --- a/lib/datadog/tracing/contrib/httpclient/patcher.rb +++ b/lib/datadog/tracing/contrib/httpclient/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core/utils/only_once' require_relative 'instrumentation' require_relative '../patcher' diff --git a/lib/datadog/tracing/contrib/httprb/configuration/settings.rb b/lib/datadog/tracing/contrib/httprb/configuration/settings.rb index 582585f64a1..00d3a851e3a 100644 --- a/lib/datadog/tracing/contrib/httprb/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/httprb/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/httprb/ext.rb b/lib/datadog/tracing/contrib/httprb/ext.rb index 72b902e8172..78fc61d780f 100644 --- a/lib/datadog/tracing/contrib/httprb/ext.rb +++ b/lib/datadog/tracing/contrib/httprb/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/httprb/instrumentation.rb b/lib/datadog/tracing/contrib/httprb/instrumentation.rb index b934ab5be41..492df4f08bd 100644 --- a/lib/datadog/tracing/contrib/httprb/instrumentation.rb +++ b/lib/datadog/tracing/contrib/httprb/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../../propagation/http' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/httprb/integration.rb b/lib/datadog/tracing/contrib/httprb/integration.rb index db50eb149f3..2bc7c9908c9 100644 --- a/lib/datadog/tracing/contrib/httprb/integration.rb +++ b/lib/datadog/tracing/contrib/httprb/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative '../configuration/resolvers/pattern_resolver' diff --git a/lib/datadog/tracing/contrib/httprb/patcher.rb b/lib/datadog/tracing/contrib/httprb/patcher.rb index 4478896c574..6296b1a62fa 100644 --- a/lib/datadog/tracing/contrib/httprb/patcher.rb +++ b/lib/datadog/tracing/contrib/httprb/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core/utils/only_once' require_relative 'instrumentation' require_relative '../patcher' diff --git a/lib/datadog/tracing/contrib/integration.rb b/lib/datadog/tracing/contrib/integration.rb index 0ce5d4305f9..0d06bafb385 100644 --- a/lib/datadog/tracing/contrib/integration.rb +++ b/lib/datadog/tracing/contrib/integration.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'configurable' require_relative 'patchable' require_relative 'registerable' diff --git a/lib/datadog/tracing/contrib/kafka/configuration/settings.rb b/lib/datadog/tracing/contrib/kafka/configuration/settings.rb index 908608f84b3..bb025c3c70b 100644 --- a/lib/datadog/tracing/contrib/kafka/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/kafka/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/kafka/consumer_event.rb b/lib/datadog/tracing/contrib/kafka/consumer_event.rb index 4f0211ebc85..906a9fd4f2b 100644 --- a/lib/datadog/tracing/contrib/kafka/consumer_event.rb +++ b/lib/datadog/tracing/contrib/kafka/consumer_event.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb b/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb index cb2635fdba6..c7fbf524536 100644 --- a/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb +++ b/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/kafka/event.rb b/lib/datadog/tracing/contrib/kafka/event.rb index a18f7e98c51..5503ad94e3c 100644 --- a/lib/datadog/tracing/contrib/kafka/event.rb +++ b/lib/datadog/tracing/contrib/kafka/event.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../analytics' require_relative '../active_support/notifications/event' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/kafka/events.rb b/lib/datadog/tracing/contrib/kafka/events.rb index 3bb596a63e5..99e9483aa32 100644 --- a/lib/datadog/tracing/contrib/kafka/events.rb +++ b/lib/datadog/tracing/contrib/kafka/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/connection/request' require_relative 'events/consumer/process_batch' require_relative 'events/consumer/process_message' diff --git a/lib/datadog/tracing/contrib/kafka/events/connection/request.rb b/lib/datadog/tracing/contrib/kafka/events/connection/request.rb index e312c51e1a9..4145fc06f89 100644 --- a/lib/datadog/tracing/contrib/kafka/events/connection/request.rb +++ b/lib/datadog/tracing/contrib/kafka/events/connection/request.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb b/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb index 4fec28f6099..22df942a9df 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb b/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb index 20796382bfb..6ea8bd05078 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb b/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb index dd9e4f473bb..2888df09519 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb b/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb index 2c76ca34a40..23878e1a6ee 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb b/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb index 0366d42f746..d9283986306 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb b/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb index a44f5ab7952..cd32f7fdee3 100644 --- a/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb +++ b/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' require_relative '../../consumer_event' diff --git a/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb b/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb index d2a9d5ff80f..9f2338e5f47 100644 --- a/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb +++ b/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' diff --git a/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb b/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb index 1b08dc26bae..7feacccdb32 100644 --- a/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb +++ b/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../ext' require_relative '../../event' diff --git a/lib/datadog/tracing/contrib/kafka/ext.rb b/lib/datadog/tracing/contrib/kafka/ext.rb index 79b4038c682..e6ec6ee4333 100644 --- a/lib/datadog/tracing/contrib/kafka/ext.rb +++ b/lib/datadog/tracing/contrib/kafka/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/kafka/integration.rb b/lib/datadog/tracing/contrib/kafka/integration.rb index a7a065b7702..43e7e5cd829 100644 --- a/lib/datadog/tracing/contrib/kafka/integration.rb +++ b/lib/datadog/tracing/contrib/kafka/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/kafka/patcher.rb b/lib/datadog/tracing/contrib/kafka/patcher.rb index 4c36b49ff7e..7c26d8cdc51 100644 --- a/lib/datadog/tracing/contrib/kafka/patcher.rb +++ b/lib/datadog/tracing/contrib/kafka/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/lograge/configuration/settings.rb b/lib/datadog/tracing/contrib/lograge/configuration/settings.rb index c93e7adf5f2..6eae0d89669 100644 --- a/lib/datadog/tracing/contrib/lograge/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/lograge/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/lograge/ext.rb b/lib/datadog/tracing/contrib/lograge/ext.rb index 5777479c07a..05de0928e8d 100644 --- a/lib/datadog/tracing/contrib/lograge/ext.rb +++ b/lib/datadog/tracing/contrib/lograge/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/lograge/instrumentation.rb b/lib/datadog/tracing/contrib/lograge/instrumentation.rb index ffb47fc7bdf..eb102b10064 100644 --- a/lib/datadog/tracing/contrib/lograge/instrumentation.rb +++ b/lib/datadog/tracing/contrib/lograge/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core/logging/ext' module Datadog diff --git a/lib/datadog/tracing/contrib/lograge/integration.rb b/lib/datadog/tracing/contrib/lograge/integration.rb index ada6b488993..cc482b026b3 100644 --- a/lib/datadog/tracing/contrib/lograge/integration.rb +++ b/lib/datadog/tracing/contrib/lograge/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/lograge/patcher.rb b/lib/datadog/tracing/contrib/lograge/patcher.rb index bfdcb8cf511..99e88aed849 100644 --- a/lib/datadog/tracing/contrib/lograge/patcher.rb +++ b/lib/datadog/tracing/contrib/lograge/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb b/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb index 1f712125625..282a1573bbe 100644 --- a/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/mongodb/ext.rb b/lib/datadog/tracing/contrib/mongodb/ext.rb index 2ec1f3b1314..21f5efcdb7c 100644 --- a/lib/datadog/tracing/contrib/mongodb/ext.rb +++ b/lib/datadog/tracing/contrib/mongodb/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/mongodb/instrumentation.rb b/lib/datadog/tracing/contrib/mongodb/instrumentation.rb index a01e3f1710d..bb3652a9813 100644 --- a/lib/datadog/tracing/contrib/mongodb/instrumentation.rb +++ b/lib/datadog/tracing/contrib/mongodb/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'ext' require_relative 'parsers' require_relative 'subscribers' diff --git a/lib/datadog/tracing/contrib/mongodb/integration.rb b/lib/datadog/tracing/contrib/mongodb/integration.rb index ebe6e9b8aba..b277705090e 100644 --- a/lib/datadog/tracing/contrib/mongodb/integration.rb +++ b/lib/datadog/tracing/contrib/mongodb/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative '../configuration/resolvers/pattern_resolver' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/mongodb/parsers.rb b/lib/datadog/tracing/contrib/mongodb/parsers.rb index cb64019a617..fd4d5547402 100644 --- a/lib/datadog/tracing/contrib/mongodb/parsers.rb +++ b/lib/datadog/tracing/contrib/mongodb/parsers.rb @@ -1,7 +1,5 @@ require_relative '../utils/quantization/hash' -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/mongodb/patcher.rb b/lib/datadog/tracing/contrib/mongodb/patcher.rb index 35b7a7b1310..83f9668cdfa 100644 --- a/lib/datadog/tracing/contrib/mongodb/patcher.rb +++ b/lib/datadog/tracing/contrib/mongodb/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative 'ext' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/mongodb/subscribers.rb b/lib/datadog/tracing/contrib/mongodb/subscribers.rb index cce070e7e05..0bf970b9381 100644 --- a/lib/datadog/tracing/contrib/mongodb/subscribers.rb +++ b/lib/datadog/tracing/contrib/mongodb/subscribers.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../analytics' require_relative 'ext' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb b/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb index 82e5f73a274..820a23ac588 100644 --- a/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/mysql2/ext.rb b/lib/datadog/tracing/contrib/mysql2/ext.rb index 885df0b805f..e953d21aea6 100644 --- a/lib/datadog/tracing/contrib/mysql2/ext.rb +++ b/lib/datadog/tracing/contrib/mysql2/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/mysql2/instrumentation.rb b/lib/datadog/tracing/contrib/mysql2/instrumentation.rb index ca15e49bb27..04e510bdfd2 100644 --- a/lib/datadog/tracing/contrib/mysql2/instrumentation.rb +++ b/lib/datadog/tracing/contrib/mysql2/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/mysql2/integration.rb b/lib/datadog/tracing/contrib/mysql2/integration.rb index 48b0167008d..96dd21d314b 100644 --- a/lib/datadog/tracing/contrib/mysql2/integration.rb +++ b/lib/datadog/tracing/contrib/mysql2/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/mysql2/patcher.rb b/lib/datadog/tracing/contrib/mysql2/patcher.rb index 8f706697e4b..ba826d55881 100644 --- a/lib/datadog/tracing/contrib/mysql2/patcher.rb +++ b/lib/datadog/tracing/contrib/mysql2/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/patchable.rb b/lib/datadog/tracing/contrib/patchable.rb index 7cb31af097c..2e65d9bade0 100644 --- a/lib/datadog/tracing/contrib/patchable.rb +++ b/lib/datadog/tracing/contrib/patchable.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/patcher.rb b/lib/datadog/tracing/contrib/patcher.rb index de425f68a48..fee8ed06b73 100644 --- a/lib/datadog/tracing/contrib/patcher.rb +++ b/lib/datadog/tracing/contrib/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../core' require_relative '../../core/utils/only_once' diff --git a/lib/datadog/tracing/contrib/pg/configuration/settings.rb b/lib/datadog/tracing/contrib/pg/configuration/settings.rb index 0f11c283c85..aac97de935b 100644 --- a/lib/datadog/tracing/contrib/pg/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/pg/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/pg/ext.rb b/lib/datadog/tracing/contrib/pg/ext.rb index 32e7970cb6e..732c7f54f24 100644 --- a/lib/datadog/tracing/contrib/pg/ext.rb +++ b/lib/datadog/tracing/contrib/pg/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/pg/instrumentation.rb b/lib/datadog/tracing/contrib/pg/instrumentation.rb index 49c361a20de..fd7686e0133 100644 --- a/lib/datadog/tracing/contrib/pg/instrumentation.rb +++ b/lib/datadog/tracing/contrib/pg/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/pg/integration.rb b/lib/datadog/tracing/contrib/pg/integration.rb index 0dd6a828f25..954deb67286 100644 --- a/lib/datadog/tracing/contrib/pg/integration.rb +++ b/lib/datadog/tracing/contrib/pg/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/pg/patcher.rb b/lib/datadog/tracing/contrib/pg/patcher.rb index 7a67640577a..a19d98d9e33 100644 --- a/lib/datadog/tracing/contrib/pg/patcher.rb +++ b/lib/datadog/tracing/contrib/pg/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/presto/configuration/settings.rb b/lib/datadog/tracing/contrib/presto/configuration/settings.rb index 12fc3d2a773..11775b32490 100644 --- a/lib/datadog/tracing/contrib/presto/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/presto/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/presto/ext.rb b/lib/datadog/tracing/contrib/presto/ext.rb index 5d873a23341..d756167d316 100644 --- a/lib/datadog/tracing/contrib/presto/ext.rb +++ b/lib/datadog/tracing/contrib/presto/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/presto/instrumentation.rb b/lib/datadog/tracing/contrib/presto/instrumentation.rb index 580cb040d99..ba145285077 100644 --- a/lib/datadog/tracing/contrib/presto/instrumentation.rb +++ b/lib/datadog/tracing/contrib/presto/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/presto/integration.rb b/lib/datadog/tracing/contrib/presto/integration.rb index e8160bcb9a1..4109fbf2a4a 100644 --- a/lib/datadog/tracing/contrib/presto/integration.rb +++ b/lib/datadog/tracing/contrib/presto/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/presto/patcher.rb b/lib/datadog/tracing/contrib/presto/patcher.rb index 9239096a031..e75e0d7ec24 100644 --- a/lib/datadog/tracing/contrib/presto/patcher.rb +++ b/lib/datadog/tracing/contrib/presto/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core/utils/only_once' require_relative '../patcher' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/propagation/sql_comment.rb b/lib/datadog/tracing/contrib/propagation/sql_comment.rb index 3d232e1ed00..18015d14769 100644 --- a/lib/datadog/tracing/contrib/propagation/sql_comment.rb +++ b/lib/datadog/tracing/contrib/propagation/sql_comment.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'sql_comment/comment' require_relative 'sql_comment/ext' diff --git a/lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb b/lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb index bd788ee677f..efbdc392d15 100644 --- a/lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb +++ b/lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require 'erb' module Datadog diff --git a/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb b/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb index 5864532a1bc..1dd758678f8 100644 --- a/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb +++ b/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb b/lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb index 3a91a30aaad..23594e9fb04 100644 --- a/lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb +++ b/lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'ext' module Datadog diff --git a/lib/datadog/tracing/contrib/qless/configuration/settings.rb b/lib/datadog/tracing/contrib/qless/configuration/settings.rb index 232817d1b81..29a914a33d7 100644 --- a/lib/datadog/tracing/contrib/qless/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/qless/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/qless/ext.rb b/lib/datadog/tracing/contrib/qless/ext.rb index 325f2ebc900..ff3a4deeea1 100644 --- a/lib/datadog/tracing/contrib/qless/ext.rb +++ b/lib/datadog/tracing/contrib/qless/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/qless/integration.rb b/lib/datadog/tracing/contrib/qless/integration.rb index c8445c56803..012002066f8 100644 --- a/lib/datadog/tracing/contrib/qless/integration.rb +++ b/lib/datadog/tracing/contrib/qless/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/qless/patcher.rb b/lib/datadog/tracing/contrib/qless/patcher.rb index 781206ad013..7821c81cbe7 100644 --- a/lib/datadog/tracing/contrib/qless/patcher.rb +++ b/lib/datadog/tracing/contrib/qless/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/qless/qless_job.rb b/lib/datadog/tracing/contrib/qless/qless_job.rb index 47e1ce1114f..f19a0d24b2c 100644 --- a/lib/datadog/tracing/contrib/qless/qless_job.rb +++ b/lib/datadog/tracing/contrib/qless/qless_job.rb @@ -1,5 +1,3 @@ -# typed: false - require 'qless' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb b/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb index cb5c9f824cd..6009e03504a 100644 --- a/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb +++ b/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/que/configuration/settings.rb b/lib/datadog/tracing/contrib/que/configuration/settings.rb index 68b414ba18c..9682d69ebac 100644 --- a/lib/datadog/tracing/contrib/que/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/que/configuration/settings.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/que/ext.rb b/lib/datadog/tracing/contrib/que/ext.rb index 531887bd471..b7f9355f735 100644 --- a/lib/datadog/tracing/contrib/que/ext.rb +++ b/lib/datadog/tracing/contrib/que/ext.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: strict - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/que/integration.rb b/lib/datadog/tracing/contrib/que/integration.rb index 67644726331..7a6af388bc0 100644 --- a/lib/datadog/tracing/contrib/que/integration.rb +++ b/lib/datadog/tracing/contrib/que/integration.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../integration' require_relative 'ext' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/que/patcher.rb b/lib/datadog/tracing/contrib/que/patcher.rb index 2c37e82247e..276d6501d3f 100644 --- a/lib/datadog/tracing/contrib/que/patcher.rb +++ b/lib/datadog/tracing/contrib/que/patcher.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative 'tracer' module Datadog diff --git a/lib/datadog/tracing/contrib/que/tracer.rb b/lib/datadog/tracing/contrib/que/tracer.rb index 0e300d17470..b00267dedec 100644 --- a/lib/datadog/tracing/contrib/que/tracer.rb +++ b/lib/datadog/tracing/contrib/que/tracer.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/racecar/configuration/settings.rb b/lib/datadog/tracing/contrib/racecar/configuration/settings.rb index d390a7dbe35..7268b987b71 100644 --- a/lib/datadog/tracing/contrib/racecar/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/racecar/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/racecar/event.rb b/lib/datadog/tracing/contrib/racecar/event.rb index d92b5b7e874..eea895bac04 100644 --- a/lib/datadog/tracing/contrib/racecar/event.rb +++ b/lib/datadog/tracing/contrib/racecar/event.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../active_support/notifications/event' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/racecar/events.rb b/lib/datadog/tracing/contrib/racecar/events.rb index 15308dab097..98010d00ba3 100644 --- a/lib/datadog/tracing/contrib/racecar/events.rb +++ b/lib/datadog/tracing/contrib/racecar/events.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'events/batch' require_relative 'events/message' require_relative 'events/consume' diff --git a/lib/datadog/tracing/contrib/racecar/events/batch.rb b/lib/datadog/tracing/contrib/racecar/events/batch.rb index f5e72a836af..1dbb49f2d6c 100644 --- a/lib/datadog/tracing/contrib/racecar/events/batch.rb +++ b/lib/datadog/tracing/contrib/racecar/events/batch.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/racecar/events/consume.rb b/lib/datadog/tracing/contrib/racecar/events/consume.rb index 3179d8a8a2e..09c5090bcf2 100644 --- a/lib/datadog/tracing/contrib/racecar/events/consume.rb +++ b/lib/datadog/tracing/contrib/racecar/events/consume.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/racecar/events/message.rb b/lib/datadog/tracing/contrib/racecar/events/message.rb index 204059295ee..c6e7b3787a0 100644 --- a/lib/datadog/tracing/contrib/racecar/events/message.rb +++ b/lib/datadog/tracing/contrib/racecar/events/message.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../ext' require_relative '../event' diff --git a/lib/datadog/tracing/contrib/racecar/ext.rb b/lib/datadog/tracing/contrib/racecar/ext.rb index af9b7e90735..75d3ee3062b 100644 --- a/lib/datadog/tracing/contrib/racecar/ext.rb +++ b/lib/datadog/tracing/contrib/racecar/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/racecar/integration.rb b/lib/datadog/tracing/contrib/racecar/integration.rb index 3ceae77da88..4e8282501cf 100644 --- a/lib/datadog/tracing/contrib/racecar/integration.rb +++ b/lib/datadog/tracing/contrib/racecar/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/racecar/patcher.rb b/lib/datadog/tracing/contrib/racecar/patcher.rb index c1a9c10b21f..7c2a6ea3d88 100644 --- a/lib/datadog/tracing/contrib/racecar/patcher.rb +++ b/lib/datadog/tracing/contrib/racecar/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'events' diff --git a/lib/datadog/tracing/contrib/rack/configuration/settings.rb b/lib/datadog/tracing/contrib/rack/configuration/settings.rb index 3a0a14364b1..277bd8d0cc6 100644 --- a/lib/datadog/tracing/contrib/rack/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/rack/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/rack/ext.rb b/lib/datadog/tracing/contrib/rack/ext.rb index cbb94a1dc29..a3ae89fa72c 100644 --- a/lib/datadog/tracing/contrib/rack/ext.rb +++ b/lib/datadog/tracing/contrib/rack/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rack/integration.rb b/lib/datadog/tracing/contrib/rack/integration.rb index 6fd5fe2c602..df978b0c4b2 100644 --- a/lib/datadog/tracing/contrib/rack/integration.rb +++ b/lib/datadog/tracing/contrib/rack/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/rack/middlewares.rb b/lib/datadog/tracing/contrib/rack/middlewares.rb index 6fb9f443cf6..c7f4c6c7b28 100644 --- a/lib/datadog/tracing/contrib/rack/middlewares.rb +++ b/lib/datadog/tracing/contrib/rack/middlewares.rb @@ -1,5 +1,3 @@ -# typed: false - require 'date' require_relative '../../../core/environment/variable_helpers' diff --git a/lib/datadog/tracing/contrib/rack/patcher.rb b/lib/datadog/tracing/contrib/rack/patcher.rb index 34566d624c9..7a0ac3d7a85 100644 --- a/lib/datadog/tracing/contrib/rack/patcher.rb +++ b/lib/datadog/tracing/contrib/rack/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rack/request_queue.rb b/lib/datadog/tracing/contrib/rack/request_queue.rb index f1cfa1daf16..4fe0a9b9ba8 100644 --- a/lib/datadog/tracing/contrib/rack/request_queue.rb +++ b/lib/datadog/tracing/contrib/rack/request_queue.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb b/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb index f3a67b11952..f929aed5caf 100644 --- a/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb +++ b/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../auto_instrument' # Railtie to include AutoInstrumentation in rails loading diff --git a/lib/datadog/tracing/contrib/rails/configuration/settings.rb b/lib/datadog/tracing/contrib/rails/configuration/settings.rb index 5285a1ac169..81afa3f6c1a 100644 --- a/lib/datadog/tracing/contrib/rails/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/rails/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' module Datadog diff --git a/lib/datadog/tracing/contrib/rails/ext.rb b/lib/datadog/tracing/contrib/rails/ext.rb index 22e5809e16b..4897e787dc7 100644 --- a/lib/datadog/tracing/contrib/rails/ext.rb +++ b/lib/datadog/tracing/contrib/rails/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rails/framework.rb b/lib/datadog/tracing/contrib/rails/framework.rb index fa6223b7213..2d28bf3d4b8 100644 --- a/lib/datadog/tracing/contrib/rails/framework.rb +++ b/lib/datadog/tracing/contrib/rails/framework.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../action_cable/integration' require_relative '../action_mailer/integration' require_relative '../action_pack/integration' diff --git a/lib/datadog/tracing/contrib/rails/integration.rb b/lib/datadog/tracing/contrib/rails/integration.rb index cd82a9a9187..7efb4e038d2 100644 --- a/lib/datadog/tracing/contrib/rails/integration.rb +++ b/lib/datadog/tracing/contrib/rails/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/rails/log_injection.rb b/lib/datadog/tracing/contrib/rails/log_injection.rb index 33d238782a9..eaf1e819972 100644 --- a/lib/datadog/tracing/contrib/rails/log_injection.rb +++ b/lib/datadog/tracing/contrib/rails/log_injection.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rails/middlewares.rb b/lib/datadog/tracing/contrib/rails/middlewares.rb index f03442983a7..66317f11c49 100644 --- a/lib/datadog/tracing/contrib/rails/middlewares.rb +++ b/lib/datadog/tracing/contrib/rails/middlewares.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../action_pack/utils' module Datadog diff --git a/lib/datadog/tracing/contrib/rails/patcher.rb b/lib/datadog/tracing/contrib/rails/patcher.rb index 2a9e0dc15b6..0aa06b069e0 100644 --- a/lib/datadog/tracing/contrib/rails/patcher.rb +++ b/lib/datadog/tracing/contrib/rails/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../../../core/utils/only_once' require_relative '../rack/middlewares' require_relative 'framework' diff --git a/lib/datadog/tracing/contrib/rails/railtie.rb b/lib/datadog/tracing/contrib/rails/railtie.rb index a000962a5d2..95032466db8 100644 --- a/lib/datadog/tracing/contrib/rails/railtie.rb +++ b/lib/datadog/tracing/contrib/rails/railtie.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'framework' require_relative 'middlewares' require_relative '../rack/middlewares' diff --git a/lib/datadog/tracing/contrib/rails/utils.rb b/lib/datadog/tracing/contrib/rails/utils.rb index ac7a615782b..7a66263cf6b 100644 --- a/lib/datadog/tracing/contrib/rails/utils.rb +++ b/lib/datadog/tracing/contrib/rails/utils.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/rake/configuration/settings.rb b/lib/datadog/tracing/contrib/rake/configuration/settings.rb index 821f580bd7b..fb02c53f268 100644 --- a/lib/datadog/tracing/contrib/rake/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/rake/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require 'set' require_relative '../../configuration/settings' diff --git a/lib/datadog/tracing/contrib/rake/ext.rb b/lib/datadog/tracing/contrib/rake/ext.rb index 7bf5ffccce5..0169ccfa84a 100644 --- a/lib/datadog/tracing/contrib/rake/ext.rb +++ b/lib/datadog/tracing/contrib/rake/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rake/instrumentation.rb b/lib/datadog/tracing/contrib/rake/instrumentation.rb index f282e189853..b297c9a2d3c 100644 --- a/lib/datadog/tracing/contrib/rake/instrumentation.rb +++ b/lib/datadog/tracing/contrib/rake/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/rake/integration.rb b/lib/datadog/tracing/contrib/rake/integration.rb index bc79d8c3ca3..af814dc0182 100644 --- a/lib/datadog/tracing/contrib/rake/integration.rb +++ b/lib/datadog/tracing/contrib/rake/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/rake/patcher.rb b/lib/datadog/tracing/contrib/rake/patcher.rb index d7baf973a8b..f6c78a4406d 100644 --- a/lib/datadog/tracing/contrib/rake/patcher.rb +++ b/lib/datadog/tracing/contrib/rake/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/redis/configuration/resolver.rb b/lib/datadog/tracing/contrib/redis/configuration/resolver.rb index 1c9a6ffa3b4..6ff0302fcf0 100644 --- a/lib/datadog/tracing/contrib/redis/configuration/resolver.rb +++ b/lib/datadog/tracing/contrib/redis/configuration/resolver.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../vendor/resolver' module Datadog diff --git a/lib/datadog/tracing/contrib/redis/configuration/settings.rb b/lib/datadog/tracing/contrib/redis/configuration/settings.rb index c2a45ae7c49..ba2eb5c8ca6 100644 --- a/lib/datadog/tracing/contrib/redis/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/redis/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/redis/ext.rb b/lib/datadog/tracing/contrib/redis/ext.rb index 13882fbe2aa..d5795cc8cc7 100644 --- a/lib/datadog/tracing/contrib/redis/ext.rb +++ b/lib/datadog/tracing/contrib/redis/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/redis/instrumentation.rb b/lib/datadog/tracing/contrib/redis/instrumentation.rb index b0ca1b092e6..6b8e8d4a018 100644 --- a/lib/datadog/tracing/contrib/redis/instrumentation.rb +++ b/lib/datadog/tracing/contrib/redis/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative 'configuration/resolver' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/redis/integration.rb b/lib/datadog/tracing/contrib/redis/integration.rb index 4226afb9cfc..d85d28e293b 100644 --- a/lib/datadog/tracing/contrib/redis/integration.rb +++ b/lib/datadog/tracing/contrib/redis/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/redis/patcher.rb b/lib/datadog/tracing/contrib/redis/patcher.rb index e10d559921a..8be512c16f0 100644 --- a/lib/datadog/tracing/contrib/redis/patcher.rb +++ b/lib/datadog/tracing/contrib/redis/patcher.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative '../patcher' require_relative 'ext' require_relative 'configuration/resolver' diff --git a/lib/datadog/tracing/contrib/redis/quantize.rb b/lib/datadog/tracing/contrib/redis/quantize.rb index 4639a8857ea..ec26287bbd1 100644 --- a/lib/datadog/tracing/contrib/redis/quantize.rb +++ b/lib/datadog/tracing/contrib/redis/quantize.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require 'set' module Datadog diff --git a/lib/datadog/tracing/contrib/redis/tags.rb b/lib/datadog/tracing/contrib/redis/tags.rb index 8da62c8f7e3..fa97ae15ade 100644 --- a/lib/datadog/tracing/contrib/redis/tags.rb +++ b/lib/datadog/tracing/contrib/redis/tags.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/redis/trace_middleware.rb b/lib/datadog/tracing/contrib/redis/trace_middleware.rb index 9fe43b3b7df..d569e12dd89 100644 --- a/lib/datadog/tracing/contrib/redis/trace_middleware.rb +++ b/lib/datadog/tracing/contrib/redis/trace_middleware.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative 'ext' require_relative 'quantize' diff --git a/lib/datadog/tracing/contrib/redis/vendor/resolver.rb b/lib/datadog/tracing/contrib/redis/vendor/resolver.rb index b831308da89..3e0745f92bc 100644 --- a/lib/datadog/tracing/contrib/redis/vendor/resolver.rb +++ b/lib/datadog/tracing/contrib/redis/vendor/resolver.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' # NOTE: This code is copied directly from Redis. diff --git a/lib/datadog/tracing/contrib/registerable.rb b/lib/datadog/tracing/contrib/registerable.rb index 2aed73c5281..72d3539465a 100644 --- a/lib/datadog/tracing/contrib/registerable.rb +++ b/lib/datadog/tracing/contrib/registerable.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/registry.rb b/lib/datadog/tracing/contrib/registry.rb index 69d4796667f..6b1e91ccb36 100644 --- a/lib/datadog/tracing/contrib/registry.rb +++ b/lib/datadog/tracing/contrib/registry.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/resque/configuration/settings.rb b/lib/datadog/tracing/contrib/resque/configuration/settings.rb index 8e4e2e8b7b7..0bdb226aa34 100644 --- a/lib/datadog/tracing/contrib/resque/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/resque/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/resque/ext.rb b/lib/datadog/tracing/contrib/resque/ext.rb index 8ce6454e1d5..26dc1271196 100644 --- a/lib/datadog/tracing/contrib/resque/ext.rb +++ b/lib/datadog/tracing/contrib/resque/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/resque/integration.rb b/lib/datadog/tracing/contrib/resque/integration.rb index 668b66d7479..deff0266c75 100644 --- a/lib/datadog/tracing/contrib/resque/integration.rb +++ b/lib/datadog/tracing/contrib/resque/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/resque/patcher.rb b/lib/datadog/tracing/contrib/resque/patcher.rb index 0f0105f55b9..442a1563216 100644 --- a/lib/datadog/tracing/contrib/resque/patcher.rb +++ b/lib/datadog/tracing/contrib/resque/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' require_relative '../sidekiq/ext' diff --git a/lib/datadog/tracing/contrib/resque/resque_job.rb b/lib/datadog/tracing/contrib/resque/resque_job.rb index 1e165500ff5..ab1c92efc25 100644 --- a/lib/datadog/tracing/contrib/resque/resque_job.rb +++ b/lib/datadog/tracing/contrib/resque/resque_job.rb @@ -1,5 +1,3 @@ -# typed: false - require 'resque' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb b/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb index 0434e77fe30..8a96355f187 100644 --- a/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/rest_client/ext.rb b/lib/datadog/tracing/contrib/rest_client/ext.rb index 1f49072389b..562586607fa 100644 --- a/lib/datadog/tracing/contrib/rest_client/ext.rb +++ b/lib/datadog/tracing/contrib/rest_client/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/rest_client/integration.rb b/lib/datadog/tracing/contrib/rest_client/integration.rb index 983d4a8186b..f947597f416 100644 --- a/lib/datadog/tracing/contrib/rest_client/integration.rb +++ b/lib/datadog/tracing/contrib/rest_client/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/rest_client/patcher.rb b/lib/datadog/tracing/contrib/rest_client/patcher.rb index 753eec71611..2bcda9f6425 100644 --- a/lib/datadog/tracing/contrib/rest_client/patcher.rb +++ b/lib/datadog/tracing/contrib/rest_client/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/rest_client/request_patch.rb b/lib/datadog/tracing/contrib/rest_client/request_patch.rb index 9a3871e9861..e5c6f9533a3 100644 --- a/lib/datadog/tracing/contrib/rest_client/request_patch.rb +++ b/lib/datadog/tracing/contrib/rest_client/request_patch.rb @@ -1,5 +1,3 @@ -# typed: false - require 'uri' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb b/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb index dc33f5068c8..987ff41810f 100644 --- a/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/semantic_logger/ext.rb b/lib/datadog/tracing/contrib/semantic_logger/ext.rb index f8a53611c19..de935dfd1eb 100644 --- a/lib/datadog/tracing/contrib/semantic_logger/ext.rb +++ b/lib/datadog/tracing/contrib/semantic_logger/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb b/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb index 21844f36cc1..2bc6b053225 100644 --- a/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb +++ b/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../core/logging/ext' module Datadog diff --git a/lib/datadog/tracing/contrib/semantic_logger/integration.rb b/lib/datadog/tracing/contrib/semantic_logger/integration.rb index 812e3477859..0f4af2ccbf7 100644 --- a/lib/datadog/tracing/contrib/semantic_logger/integration.rb +++ b/lib/datadog/tracing/contrib/semantic_logger/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/semantic_logger/patcher.rb b/lib/datadog/tracing/contrib/semantic_logger/patcher.rb index 398fb3ea4ac..e4bbd45047d 100644 --- a/lib/datadog/tracing/contrib/semantic_logger/patcher.rb +++ b/lib/datadog/tracing/contrib/semantic_logger/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'instrumentation' diff --git a/lib/datadog/tracing/contrib/sequel/configuration/settings.rb b/lib/datadog/tracing/contrib/sequel/configuration/settings.rb index d293de17ea8..82fe5f810f6 100644 --- a/lib/datadog/tracing/contrib/sequel/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/sequel/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/sequel/database.rb b/lib/datadog/tracing/contrib/sequel/database.rb index a9dad6858f0..95ff045e8b4 100644 --- a/lib/datadog/tracing/contrib/sequel/database.rb +++ b/lib/datadog/tracing/contrib/sequel/database.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/sequel/dataset.rb b/lib/datadog/tracing/contrib/sequel/dataset.rb index 0e8b0954af7..2a53c8f8afd 100644 --- a/lib/datadog/tracing/contrib/sequel/dataset.rb +++ b/lib/datadog/tracing/contrib/sequel/dataset.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/sequel/ext.rb b/lib/datadog/tracing/contrib/sequel/ext.rb index 48068cf0158..746f4b1ca06 100644 --- a/lib/datadog/tracing/contrib/sequel/ext.rb +++ b/lib/datadog/tracing/contrib/sequel/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sequel/integration.rb b/lib/datadog/tracing/contrib/sequel/integration.rb index fc98c0328a4..0a504b67067 100644 --- a/lib/datadog/tracing/contrib/sequel/integration.rb +++ b/lib/datadog/tracing/contrib/sequel/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/sequel/patcher.rb b/lib/datadog/tracing/contrib/sequel/patcher.rb index 30c39410597..5c8a2410184 100644 --- a/lib/datadog/tracing/contrib/sequel/patcher.rb +++ b/lib/datadog/tracing/contrib/sequel/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'database' require_relative 'dataset' diff --git a/lib/datadog/tracing/contrib/sequel/utils.rb b/lib/datadog/tracing/contrib/sequel/utils.rb index 3f5086dcf8c..c01586e482c 100644 --- a/lib/datadog/tracing/contrib/sequel/utils.rb +++ b/lib/datadog/tracing/contrib/sequel/utils.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../utils/database' diff --git a/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb b/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb index 2d25908fe5a..f7bb86b4873 100644 --- a/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/shoryuken/ext.rb b/lib/datadog/tracing/contrib/shoryuken/ext.rb index a4a0803d672..3629633f51d 100644 --- a/lib/datadog/tracing/contrib/shoryuken/ext.rb +++ b/lib/datadog/tracing/contrib/shoryuken/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/shoryuken/integration.rb b/lib/datadog/tracing/contrib/shoryuken/integration.rb index 13cf63ab076..6ab317939b2 100644 --- a/lib/datadog/tracing/contrib/shoryuken/integration.rb +++ b/lib/datadog/tracing/contrib/shoryuken/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'ext' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/shoryuken/patcher.rb b/lib/datadog/tracing/contrib/shoryuken/patcher.rb index ef984055633..1b84ac145df 100644 --- a/lib/datadog/tracing/contrib/shoryuken/patcher.rb +++ b/lib/datadog/tracing/contrib/shoryuken/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative 'tracer' module Datadog diff --git a/lib/datadog/tracing/contrib/shoryuken/tracer.rb b/lib/datadog/tracing/contrib/shoryuken/tracer.rb index c390e83ee4d..768a2f98571 100644 --- a/lib/datadog/tracing/contrib/shoryuken/tracer.rb +++ b/lib/datadog/tracing/contrib/shoryuken/tracer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../analytics' module Datadog diff --git a/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb b/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb index 03849673224..09c0501562c 100644 --- a/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb +++ b/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb b/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb index 47a905ea1e6..a00656ac8c6 100644 --- a/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/sidekiq/ext.rb b/lib/datadog/tracing/contrib/sidekiq/ext.rb index 1cdb0e7a774..f834319f76b 100644 --- a/lib/datadog/tracing/contrib/sidekiq/ext.rb +++ b/lib/datadog/tracing/contrib/sidekiq/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sidekiq/integration.rb b/lib/datadog/tracing/contrib/sidekiq/integration.rb index 32afb70ed87..3cbeeed8b10 100644 --- a/lib/datadog/tracing/contrib/sidekiq/integration.rb +++ b/lib/datadog/tracing/contrib/sidekiq/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/sidekiq/patcher.rb b/lib/datadog/tracing/contrib/sidekiq/patcher.rb index 2f2809aa1d1..f0ac5d673ce 100644 --- a/lib/datadog/tracing/contrib/sidekiq/patcher.rb +++ b/lib/datadog/tracing/contrib/sidekiq/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../patcher' module Datadog diff --git a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb index 58169efef32..395e93cae5c 100644 --- a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb +++ b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb index 0d637084f99..5f0f5045859 100644 --- a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb +++ b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info.rb b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info.rb index a3cd2e398ae..f6d709cdbd1 100644 --- a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info.rb +++ b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller.rb b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller.rb index a78393033e5..f34cdc084f2 100644 --- a/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller.rb +++ b/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb b/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb index b4a3cd07a80..4d6de221321 100644 --- a/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb +++ b/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/sidekiq/tracing.rb b/lib/datadog/tracing/contrib/sidekiq/tracing.rb index fb729899031..f639e73d5af 100644 --- a/lib/datadog/tracing/contrib/sidekiq/tracing.rb +++ b/lib/datadog/tracing/contrib/sidekiq/tracing.rb @@ -1,5 +1,3 @@ -# typed: true - require 'yaml' require_relative '../../../core' diff --git a/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb b/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb index 55c88cd5ed8..ba514cc35d9 100644 --- a/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/sinatra/env.rb b/lib/datadog/tracing/contrib/sinatra/env.rb index 48417a9d252..c2edea75b61 100644 --- a/lib/datadog/tracing/contrib/sinatra/env.rb +++ b/lib/datadog/tracing/contrib/sinatra/env.rb @@ -1,5 +1,3 @@ -# typed: true - require 'time' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/sinatra/ext.rb b/lib/datadog/tracing/contrib/sinatra/ext.rb index a3760a9eeea..b0f60bed58a 100644 --- a/lib/datadog/tracing/contrib/sinatra/ext.rb +++ b/lib/datadog/tracing/contrib/sinatra/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sinatra/framework.rb b/lib/datadog/tracing/contrib/sinatra/framework.rb index a2267f3a105..bbe81a05af7 100644 --- a/lib/datadog/tracing/contrib/sinatra/framework.rb +++ b/lib/datadog/tracing/contrib/sinatra/framework.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sinatra/headers.rb b/lib/datadog/tracing/contrib/sinatra/headers.rb index 9d89825d01b..51eb3e203ed 100644 --- a/lib/datadog/tracing/contrib/sinatra/headers.rb +++ b/lib/datadog/tracing/contrib/sinatra/headers.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../metadata/ext' module Datadog diff --git a/lib/datadog/tracing/contrib/sinatra/integration.rb b/lib/datadog/tracing/contrib/sinatra/integration.rb index f6b0e3709e5..89d02846efa 100644 --- a/lib/datadog/tracing/contrib/sinatra/integration.rb +++ b/lib/datadog/tracing/contrib/sinatra/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/sinatra/patcher.rb b/lib/datadog/tracing/contrib/sinatra/patcher.rb index bc8219fc0eb..b91f561f78c 100644 --- a/lib/datadog/tracing/contrib/sinatra/patcher.rb +++ b/lib/datadog/tracing/contrib/sinatra/patcher.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../core/utils/only_once' require_relative '../patcher' require_relative '../rack/middlewares' diff --git a/lib/datadog/tracing/contrib/sinatra/tracer.rb b/lib/datadog/tracing/contrib/sinatra/tracer.rb index b22b134db72..5b52e7649e7 100644 --- a/lib/datadog/tracing/contrib/sinatra/tracer.rb +++ b/lib/datadog/tracing/contrib/sinatra/tracer.rb @@ -1,5 +1,3 @@ -# typed: false - require 'sinatra/base' require_relative '../../../core/utils/only_once' diff --git a/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb b/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb index 974f3500be8..263c8b28b1c 100644 --- a/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb +++ b/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../metadata/ext' require_relative '../analytics' require_relative '../rack/ext' diff --git a/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb b/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb index 8e5552f23ee..c61883fcc90 100644 --- a/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../../../span_operation' require_relative '../../configuration/settings' diff --git a/lib/datadog/tracing/contrib/sneakers/ext.rb b/lib/datadog/tracing/contrib/sneakers/ext.rb index 83a096432cc..c80093b514d 100644 --- a/lib/datadog/tracing/contrib/sneakers/ext.rb +++ b/lib/datadog/tracing/contrib/sneakers/ext.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: strict - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sneakers/integration.rb b/lib/datadog/tracing/contrib/sneakers/integration.rb index 4279c899b16..1b3b8f71a5e 100644 --- a/lib/datadog/tracing/contrib/sneakers/integration.rb +++ b/lib/datadog/tracing/contrib/sneakers/integration.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../integration' require_relative 'ext' require_relative 'configuration/settings' diff --git a/lib/datadog/tracing/contrib/sneakers/patcher.rb b/lib/datadog/tracing/contrib/sneakers/patcher.rb index 19cf57dafb2..17b2b3b5ef7 100644 --- a/lib/datadog/tracing/contrib/sneakers/patcher.rb +++ b/lib/datadog/tracing/contrib/sneakers/patcher.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: false - require_relative '../patcher' require_relative 'tracer' diff --git a/lib/datadog/tracing/contrib/sneakers/tracer.rb b/lib/datadog/tracing/contrib/sneakers/tracer.rb index ceb6b55778a..e625ce3e3b6 100644 --- a/lib/datadog/tracing/contrib/sneakers/tracer.rb +++ b/lib/datadog/tracing/contrib/sneakers/tracer.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../../metadata/ext' require_relative '../analytics' diff --git a/lib/datadog/tracing/contrib/status_code_matcher.rb b/lib/datadog/tracing/contrib/status_code_matcher.rb index e1f786779a5..9cafc646a47 100644 --- a/lib/datadog/tracing/contrib/status_code_matcher.rb +++ b/lib/datadog/tracing/contrib/status_code_matcher.rb @@ -1,5 +1,3 @@ -# typed: true - require 'set' require_relative '../../core' diff --git a/lib/datadog/tracing/contrib/stripe/patcher.rb b/lib/datadog/tracing/contrib/stripe/patcher.rb index 0c12caa0b3a..35ddbae6963 100644 --- a/lib/datadog/tracing/contrib/stripe/patcher.rb +++ b/lib/datadog/tracing/contrib/stripe/patcher.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: false require_relative '../patcher' require_relative 'request' diff --git a/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb b/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb index 49c8e57efb8..43cbf5dfe53 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../configuration/settings' require_relative '../ext' diff --git a/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb b/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb index c4f5bb0e0b0..e57ef4fe164 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb @@ -1,5 +1,3 @@ -# typed: false - require 'sucker_punch' module Datadog diff --git a/lib/datadog/tracing/contrib/sucker_punch/ext.rb b/lib/datadog/tracing/contrib/sucker_punch/ext.rb index ab7dcb3ed8c..fe0ad091b08 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/ext.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb b/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb index 267e86c8239..e8dba8e35b1 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb @@ -1,5 +1,3 @@ -# typed: false - require 'sucker_punch' require_relative '../../metadata/ext' diff --git a/lib/datadog/tracing/contrib/sucker_punch/integration.rb b/lib/datadog/tracing/contrib/sucker_punch/integration.rb index d04f119931c..c0d0d33915f 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/integration.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/integration.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' diff --git a/lib/datadog/tracing/contrib/sucker_punch/patcher.rb b/lib/datadog/tracing/contrib/sucker_punch/patcher.rb index 291077ef9ad..9ca0ca277ff 100644 --- a/lib/datadog/tracing/contrib/sucker_punch/patcher.rb +++ b/lib/datadog/tracing/contrib/sucker_punch/patcher.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../patcher' require_relative 'ext' diff --git a/lib/datadog/tracing/contrib/utils/database.rb b/lib/datadog/tracing/contrib/utils/database.rb index f87ce26bcf7..446bcdf3019 100644 --- a/lib/datadog/tracing/contrib/utils/database.rb +++ b/lib/datadog/tracing/contrib/utils/database.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/utils/quantization/hash.rb b/lib/datadog/tracing/contrib/utils/quantization/hash.rb index af3e411c12b..bab012c5d8e 100644 --- a/lib/datadog/tracing/contrib/utils/quantization/hash.rb +++ b/lib/datadog/tracing/contrib/utils/quantization/hash.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/lib/datadog/tracing/contrib/utils/quantization/http.rb b/lib/datadog/tracing/contrib/utils/quantization/http.rb index 83aa250eede..3a2b393dd60 100644 --- a/lib/datadog/tracing/contrib/utils/quantization/http.rb +++ b/lib/datadog/tracing/contrib/utils/quantization/http.rb @@ -1,5 +1,3 @@ -# typed: true - require 'uri' require 'set' diff --git a/lib/datadog/tracing/correlation.rb b/lib/datadog/tracing/correlation.rb index 490ecc97f13..aad4c3eda6f 100644 --- a/lib/datadog/tracing/correlation.rb +++ b/lib/datadog/tracing/correlation.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' module Datadog diff --git a/lib/datadog/tracing/diagnostics/ext.rb b/lib/datadog/tracing/diagnostics/ext.rb index 244e79afcef..7828789f1d9 100644 --- a/lib/datadog/tracing/diagnostics/ext.rb +++ b/lib/datadog/tracing/diagnostics/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Diagnostics diff --git a/lib/datadog/tracing/diagnostics/health.rb b/lib/datadog/tracing/diagnostics/health.rb index 3460a87ac23..f3f4349183b 100644 --- a/lib/datadog/tracing/diagnostics/health.rb +++ b/lib/datadog/tracing/diagnostics/health.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative 'ext' module Datadog diff --git a/lib/datadog/tracing/distributed/b3_multi.rb b/lib/datadog/tracing/distributed/b3_multi.rb index 4e685ef52e9..e651c0452b0 100644 --- a/lib/datadog/tracing/distributed/b3_multi.rb +++ b/lib/datadog/tracing/distributed/b3_multi.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'helpers' require_relative '../trace_digest' diff --git a/lib/datadog/tracing/distributed/b3_single.rb b/lib/datadog/tracing/distributed/b3_single.rb index 9c4cbcd1919..585ecf48a6d 100644 --- a/lib/datadog/tracing/distributed/b3_single.rb +++ b/lib/datadog/tracing/distributed/b3_single.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'helpers' require_relative '../trace_digest' diff --git a/lib/datadog/tracing/distributed/datadog.rb b/lib/datadog/tracing/distributed/datadog.rb index b307edf9e62..9941bd6a1fd 100644 --- a/lib/datadog/tracing/distributed/datadog.rb +++ b/lib/datadog/tracing/distributed/datadog.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative '../metadata/ext' require_relative '../trace_digest' diff --git a/lib/datadog/tracing/distributed/datadog_tags_codec.rb b/lib/datadog/tracing/distributed/datadog_tags_codec.rb index 6b667a03e6a..86e5956cedb 100644 --- a/lib/datadog/tracing/distributed/datadog_tags_codec.rb +++ b/lib/datadog/tracing/distributed/datadog_tags_codec.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: false module Datadog module Tracing diff --git a/lib/datadog/tracing/distributed/fetcher.rb b/lib/datadog/tracing/distributed/fetcher.rb index 31493238ba2..fd6eef5e2af 100644 --- a/lib/datadog/tracing/distributed/fetcher.rb +++ b/lib/datadog/tracing/distributed/fetcher.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative 'helpers' diff --git a/lib/datadog/tracing/distributed/headers/ext.rb b/lib/datadog/tracing/distributed/headers/ext.rb index 5b5a6fa8b67..02b48297116 100644 --- a/lib/datadog/tracing/distributed/headers/ext.rb +++ b/lib/datadog/tracing/distributed/headers/ext.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true module Datadog module Tracing diff --git a/lib/datadog/tracing/distributed/helpers.rb b/lib/datadog/tracing/distributed/helpers.rb index d5c7c7b1909..0a07bd1e284 100644 --- a/lib/datadog/tracing/distributed/helpers.rb +++ b/lib/datadog/tracing/distributed/helpers.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: true require_relative '../sampling/ext' require_relative '../utils' diff --git a/lib/datadog/tracing/distributed/none.rb b/lib/datadog/tracing/distributed/none.rb index ddcb6e568e1..b90d6e014f7 100644 --- a/lib/datadog/tracing/distributed/none.rb +++ b/lib/datadog/tracing/distributed/none.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: false module Datadog module Tracing diff --git a/lib/datadog/tracing/distributed/propagation.rb b/lib/datadog/tracing/distributed/propagation.rb index 33fb255fd78..a5f95078f33 100644 --- a/lib/datadog/tracing/distributed/propagation.rb +++ b/lib/datadog/tracing/distributed/propagation.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: false require_relative '../configuration/ext' require_relative '../trace_digest' diff --git a/lib/datadog/tracing/distributed/trace_context.rb b/lib/datadog/tracing/distributed/trace_context.rb index 17c14dd4730..7db4be1924a 100644 --- a/lib/datadog/tracing/distributed/trace_context.rb +++ b/lib/datadog/tracing/distributed/trace_context.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -# typed: false module Datadog module Tracing diff --git a/lib/datadog/tracing/event.rb b/lib/datadog/tracing/event.rb index 617cd64c03b..a1ce262af48 100644 --- a/lib/datadog/tracing/event.rb +++ b/lib/datadog/tracing/event.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../core' module Datadog diff --git a/lib/datadog/tracing/flush.rb b/lib/datadog/tracing/flush.rb index 79182e20668..c71f360cdb9 100644 --- a/lib/datadog/tracing/flush.rb +++ b/lib/datadog/tracing/flush.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Flush diff --git a/lib/datadog/tracing/metadata.rb b/lib/datadog/tracing/metadata.rb index a155e62b922..d44437249c5 100644 --- a/lib/datadog/tracing/metadata.rb +++ b/lib/datadog/tracing/metadata.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'metadata/analytics' require_relative 'metadata/tagging' require_relative 'metadata/errors' diff --git a/lib/datadog/tracing/metadata/analytics.rb b/lib/datadog/tracing/metadata/analytics.rb index 4b54ad2c09c..22f5ff68138 100644 --- a/lib/datadog/tracing/metadata/analytics.rb +++ b/lib/datadog/tracing/metadata/analytics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../analytics' require_relative 'ext' diff --git a/lib/datadog/tracing/metadata/errors.rb b/lib/datadog/tracing/metadata/errors.rb index 524f78820bc..08ae80a45ce 100644 --- a/lib/datadog/tracing/metadata/errors.rb +++ b/lib/datadog/tracing/metadata/errors.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../core/error' require_relative 'ext' diff --git a/lib/datadog/tracing/metadata/ext.rb b/lib/datadog/tracing/metadata/ext.rb index f6163eb546f..3ff75cdfdc9 100644 --- a/lib/datadog/tracing/metadata/ext.rb +++ b/lib/datadog/tracing/metadata/ext.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - module Datadog module Tracing module Metadata diff --git a/lib/datadog/tracing/metadata/tagging.rb b/lib/datadog/tracing/metadata/tagging.rb index bb75a3654e6..43ca3e26987 100644 --- a/lib/datadog/tracing/metadata/tagging.rb +++ b/lib/datadog/tracing/metadata/tagging.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../core/environment/ext' require_relative 'ext' diff --git a/lib/datadog/tracing/pipeline.rb b/lib/datadog/tracing/pipeline.rb index b355f290638..7f35b1cf254 100644 --- a/lib/datadog/tracing/pipeline.rb +++ b/lib/datadog/tracing/pipeline.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative 'pipeline/span_filter' diff --git a/lib/datadog/tracing/pipeline/span_filter.rb b/lib/datadog/tracing/pipeline/span_filter.rb index 5339ac81e77..7ca215fd807 100644 --- a/lib/datadog/tracing/pipeline/span_filter.rb +++ b/lib/datadog/tracing/pipeline/span_filter.rb @@ -1,5 +1,3 @@ -# typed: true - require 'set' require_relative 'span_processor' diff --git a/lib/datadog/tracing/pipeline/span_processor.rb b/lib/datadog/tracing/pipeline/span_processor.rb index 14b43c71083..6d526695cce 100644 --- a/lib/datadog/tracing/pipeline/span_processor.rb +++ b/lib/datadog/tracing/pipeline/span_processor.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Pipeline diff --git a/lib/datadog/tracing/propagation/http.rb b/lib/datadog/tracing/propagation/http.rb index 8c1103274ae..f4200710c5a 100644 --- a/lib/datadog/tracing/propagation/http.rb +++ b/lib/datadog/tracing/propagation/http.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../contrib/http/distributed/propagation' module Datadog diff --git a/lib/datadog/tracing/runtime/metrics.rb b/lib/datadog/tracing/runtime/metrics.rb index 4a6419b3266..b8bbdb27d64 100644 --- a/lib/datadog/tracing/runtime/metrics.rb +++ b/lib/datadog/tracing/runtime/metrics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core' module Datadog diff --git a/lib/datadog/tracing/sampling/all_sampler.rb b/lib/datadog/tracing/sampling/all_sampler.rb index c56fca91435..d4b315b56c0 100644 --- a/lib/datadog/tracing/sampling/all_sampler.rb +++ b/lib/datadog/tracing/sampling/all_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'sampler' module Datadog diff --git a/lib/datadog/tracing/sampling/ext.rb b/lib/datadog/tracing/sampling/ext.rb index 5f114ee1b4c..5d657cb8d27 100644 --- a/lib/datadog/tracing/sampling/ext.rb +++ b/lib/datadog/tracing/sampling/ext.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: strict - module Datadog module Tracing module Sampling diff --git a/lib/datadog/tracing/sampling/matcher.rb b/lib/datadog/tracing/sampling/matcher.rb index 4e5027e9819..4dd18a3f699 100644 --- a/lib/datadog/tracing/sampling/matcher.rb +++ b/lib/datadog/tracing/sampling/matcher.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Sampling diff --git a/lib/datadog/tracing/sampling/priority_sampler.rb b/lib/datadog/tracing/sampling/priority_sampler.rb index 12563656174..27442e30f80 100644 --- a/lib/datadog/tracing/sampling/priority_sampler.rb +++ b/lib/datadog/tracing/sampling/priority_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'ext' require_relative 'all_sampler' require_relative 'rate_sampler' diff --git a/lib/datadog/tracing/sampling/rate_by_key_sampler.rb b/lib/datadog/tracing/sampling/rate_by_key_sampler.rb index a73290fb918..2e5d0c0a974 100644 --- a/lib/datadog/tracing/sampling/rate_by_key_sampler.rb +++ b/lib/datadog/tracing/sampling/rate_by_key_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'sampler' require_relative 'rate_sampler' diff --git a/lib/datadog/tracing/sampling/rate_by_service_sampler.rb b/lib/datadog/tracing/sampling/rate_by_service_sampler.rb index 8eb1d877d3c..c60a6c852ab 100644 --- a/lib/datadog/tracing/sampling/rate_by_service_sampler.rb +++ b/lib/datadog/tracing/sampling/rate_by_service_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core' require_relative 'rate_by_key_sampler' diff --git a/lib/datadog/tracing/sampling/rate_limiter.rb b/lib/datadog/tracing/sampling/rate_limiter.rb index 79a35b6443d..3769ec3d550 100644 --- a/lib/datadog/tracing/sampling/rate_limiter.rb +++ b/lib/datadog/tracing/sampling/rate_limiter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core/utils/time' module Datadog diff --git a/lib/datadog/tracing/sampling/rate_sampler.rb b/lib/datadog/tracing/sampling/rate_sampler.rb index b1ac4ae3825..9b972d21bb3 100644 --- a/lib/datadog/tracing/sampling/rate_sampler.rb +++ b/lib/datadog/tracing/sampling/rate_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core' require_relative 'sampler' diff --git a/lib/datadog/tracing/sampling/rule.rb b/lib/datadog/tracing/sampling/rule.rb index 2700c3933dd..3b3db8e2a08 100644 --- a/lib/datadog/tracing/sampling/rule.rb +++ b/lib/datadog/tracing/sampling/rule.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core' require_relative 'matcher' diff --git a/lib/datadog/tracing/sampling/rule_sampler.rb b/lib/datadog/tracing/sampling/rule_sampler.rb index e2c33285874..edc118822fe 100644 --- a/lib/datadog/tracing/sampling/rule_sampler.rb +++ b/lib/datadog/tracing/sampling/rule_sampler.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../core' require_relative 'ext' diff --git a/lib/datadog/tracing/sampling/sampler.rb b/lib/datadog/tracing/sampling/sampler.rb index ddee5807266..a13964bf55c 100644 --- a/lib/datadog/tracing/sampling/sampler.rb +++ b/lib/datadog/tracing/sampling/sampler.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Sampling diff --git a/lib/datadog/tracing/span.rb b/lib/datadog/tracing/span.rb index ed9c697cddc..5759216851a 100644 --- a/lib/datadog/tracing/span.rb +++ b/lib/datadog/tracing/span.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require_relative '../core/utils/safe_dup' require_relative 'utils' diff --git a/lib/datadog/tracing/span_operation.rb b/lib/datadog/tracing/span_operation.rb index 66fbb0a1d95..a2be0c39db8 100644 --- a/lib/datadog/tracing/span_operation.rb +++ b/lib/datadog/tracing/span_operation.rb @@ -1,5 +1,3 @@ -# typed: true - require 'time' require_relative '../core' diff --git a/lib/datadog/tracing/sync_writer.rb b/lib/datadog/tracing/sync_writer.rb index 693e206c1fa..93512c0fde9 100644 --- a/lib/datadog/tracing/sync_writer.rb +++ b/lib/datadog/tracing/sync_writer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative 'pipeline' diff --git a/lib/datadog/tracing/trace_digest.rb b/lib/datadog/tracing/trace_digest.rb index 39e2b674329..ab270727b58 100644 --- a/lib/datadog/tracing/trace_digest.rb +++ b/lib/datadog/tracing/trace_digest.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing # Trace digest that represents the important parts of an active trace. diff --git a/lib/datadog/tracing/trace_operation.rb b/lib/datadog/tracing/trace_operation.rb index 276ef9d9033..d0a5b95ec6f 100644 --- a/lib/datadog/tracing/trace_operation.rb +++ b/lib/datadog/tracing/trace_operation.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../core' require_relative '../core/environment/identity' require_relative '../core/utils' diff --git a/lib/datadog/tracing/trace_segment.rb b/lib/datadog/tracing/trace_segment.rb index 831e51fa7c0..b9975850c1a 100644 --- a/lib/datadog/tracing/trace_segment.rb +++ b/lib/datadog/tracing/trace_segment.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/runtime/ext' require_relative '../core/utils/safe_dup' diff --git a/lib/datadog/tracing/tracer.rb b/lib/datadog/tracing/tracer.rb index 63345c9d33c..f311363fe3f 100644 --- a/lib/datadog/tracing/tracer.rb +++ b/lib/datadog/tracing/tracer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative '../core/environment/ext' require_relative '../core/environment/socket' diff --git a/lib/datadog/tracing/utils.rb b/lib/datadog/tracing/utils.rb index 230ba2d73bc..0bd833d418b 100644 --- a/lib/datadog/tracing/utils.rb +++ b/lib/datadog/tracing/utils.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core/utils/forking' module Datadog diff --git a/lib/datadog/tracing/workers.rb b/lib/datadog/tracing/workers.rb index a5ce1b7637c..85d01741e0c 100644 --- a/lib/datadog/tracing/workers.rb +++ b/lib/datadog/tracing/workers.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative 'buffer' diff --git a/lib/datadog/tracing/workers/trace_writer.rb b/lib/datadog/tracing/workers/trace_writer.rb index 378310332b1..473d35e5b3e 100644 --- a/lib/datadog/tracing/workers/trace_writer.rb +++ b/lib/datadog/tracing/workers/trace_writer.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../core' require_relative '../../core/worker' require_relative '../../core/workers/async' diff --git a/lib/datadog/tracing/writer.rb b/lib/datadog/tracing/writer.rb index e4c674b4dd0..2d734080af3 100644 --- a/lib/datadog/tracing/writer.rb +++ b/lib/datadog/tracing/writer.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../core' require_relative 'event' diff --git a/lib/ddtrace.rb b/lib/ddtrace.rb index 4eafbe04947..feff8c20e20 100644 --- a/lib/ddtrace.rb +++ b/lib/ddtrace.rb @@ -1,5 +1,3 @@ -# typed: strict - # Load tracing require_relative 'datadog/tracing' require_relative 'datadog/tracing/contrib' diff --git a/lib/ddtrace/auto_instrument.rb b/lib/ddtrace/auto_instrument.rb index 84cc1db762f..1091c642f6f 100644 --- a/lib/ddtrace/auto_instrument.rb +++ b/lib/ddtrace/auto_instrument.rb @@ -1,5 +1,3 @@ -# typed: strict - # Entrypoint file for auto instrumentation. # # This file's path is part of the @public_api. diff --git a/lib/ddtrace/auto_instrument_base.rb b/lib/ddtrace/auto_instrument_base.rb index d8b21acbfd2..4a88a3a43cb 100644 --- a/lib/ddtrace/auto_instrument_base.rb +++ b/lib/ddtrace/auto_instrument_base.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog # base methods stubbed for adding auto instrument extensions module AutoInstrumentBase diff --git a/lib/ddtrace/profiling/preload.rb b/lib/ddtrace/profiling/preload.rb index 64af4e312fd..45dff003a6e 100644 --- a/lib/ddtrace/profiling/preload.rb +++ b/lib/ddtrace/profiling/preload.rb @@ -1,4 +1,2 @@ -# typed: strict - # TODO: Warns users after 1.0 upgrade. Remove this file in 2.0. raise LoadError, 'This file has been moved to `datadog/profiling/preload` in 1.0.0' diff --git a/lib/ddtrace/transport/ext.rb b/lib/ddtrace/transport/ext.rb index 8e41f796b22..4a9338a0d62 100644 --- a/lib/ddtrace/transport/ext.rb +++ b/lib/ddtrace/transport/ext.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport # @public_api diff --git a/lib/ddtrace/transport/http.rb b/lib/ddtrace/transport/http.rb index 85761ecca38..6ad6a5adc2f 100644 --- a/lib/ddtrace/transport/http.rb +++ b/lib/ddtrace/transport/http.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -# typed: true - require 'uri' require_relative '../../datadog/core/environment/container' diff --git a/lib/ddtrace/transport/http/adapters/net.rb b/lib/ddtrace/transport/http/adapters/net.rb index 5e7e0ca5764..45a22e7c897 100644 --- a/lib/ddtrace/transport/http/adapters/net.rb +++ b/lib/ddtrace/transport/http/adapters/net.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../response' require_relative '../../../../datadog/core/vendor/multipart-post/net/http/post/multipart' diff --git a/lib/ddtrace/transport/http/adapters/registry.rb b/lib/ddtrace/transport/http/adapters/registry.rb index 2a26b25c157..929124fa2c0 100644 --- a/lib/ddtrace/transport/http/adapters/registry.rb +++ b/lib/ddtrace/transport/http/adapters/registry.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport module HTTP diff --git a/lib/ddtrace/transport/http/adapters/test.rb b/lib/ddtrace/transport/http/adapters/test.rb index 87991e0a7fa..f85d59f283f 100644 --- a/lib/ddtrace/transport/http/adapters/test.rb +++ b/lib/ddtrace/transport/http/adapters/test.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../response' module Datadog diff --git a/lib/ddtrace/transport/http/adapters/unix_socket.rb b/lib/ddtrace/transport/http/adapters/unix_socket.rb index 0ffb2ba4fc8..dfa211998fe 100644 --- a/lib/ddtrace/transport/http/adapters/unix_socket.rb +++ b/lib/ddtrace/transport/http/adapters/unix_socket.rb @@ -1,5 +1,3 @@ -# typed: false - require 'net/http' require_relative '../../ext' require_relative 'net' diff --git a/lib/ddtrace/transport/http/api.rb b/lib/ddtrace/transport/http/api.rb index f6d42a1b39e..f1b0262b1ce 100644 --- a/lib/ddtrace/transport/http/api.rb +++ b/lib/ddtrace/transport/http/api.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../../../datadog/core/encoding' require_relative 'api/map' diff --git a/lib/ddtrace/transport/http/api/endpoint.rb b/lib/ddtrace/transport/http/api/endpoint.rb index 6c0a5e1c9da..99ab8b8a8ad 100644 --- a/lib/ddtrace/transport/http/api/endpoint.rb +++ b/lib/ddtrace/transport/http/api/endpoint.rb @@ -1,5 +1,3 @@ -# typed: true - require 'json' module Datadog diff --git a/lib/ddtrace/transport/http/api/fallbacks.rb b/lib/ddtrace/transport/http/api/fallbacks.rb index 7cd64b7f917..af77bfcc9f4 100644 --- a/lib/ddtrace/transport/http/api/fallbacks.rb +++ b/lib/ddtrace/transport/http/api/fallbacks.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Transport module HTTP diff --git a/lib/ddtrace/transport/http/api/instance.rb b/lib/ddtrace/transport/http/api/instance.rb index 864603ba41f..a534112928c 100644 --- a/lib/ddtrace/transport/http/api/instance.rb +++ b/lib/ddtrace/transport/http/api/instance.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport module HTTP diff --git a/lib/ddtrace/transport/http/api/map.rb b/lib/ddtrace/transport/http/api/map.rb index c623228754d..37f4e766577 100644 --- a/lib/ddtrace/transport/http/api/map.rb +++ b/lib/ddtrace/transport/http/api/map.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'fallbacks' module Datadog diff --git a/lib/ddtrace/transport/http/api/spec.rb b/lib/ddtrace/transport/http/api/spec.rb index 732849972ae..8971fb09f7f 100644 --- a/lib/ddtrace/transport/http/api/spec.rb +++ b/lib/ddtrace/transport/http/api/spec.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport module HTTP diff --git a/lib/ddtrace/transport/http/builder.rb b/lib/ddtrace/transport/http/builder.rb index 20253169832..8f765f3aa58 100644 --- a/lib/ddtrace/transport/http/builder.rb +++ b/lib/ddtrace/transport/http/builder.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../../datadog/core/configuration/agent_settings_resolver' require_relative 'adapters/registry' require_relative 'api/map' diff --git a/lib/ddtrace/transport/http/client.rb b/lib/ddtrace/transport/http/client.rb index 7706a7b7792..1fb25aa872c 100644 --- a/lib/ddtrace/transport/http/client.rb +++ b/lib/ddtrace/transport/http/client.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative 'statistics' require_relative 'env' diff --git a/lib/ddtrace/transport/http/env.rb b/lib/ddtrace/transport/http/env.rb index 40b181bc23d..125c171d82f 100644 --- a/lib/ddtrace/transport/http/env.rb +++ b/lib/ddtrace/transport/http/env.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport module HTTP diff --git a/lib/ddtrace/transport/http/response.rb b/lib/ddtrace/transport/http/response.rb index bb59ae002f2..755d9425bb4 100644 --- a/lib/ddtrace/transport/http/response.rb +++ b/lib/ddtrace/transport/http/response.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../response' module Datadog diff --git a/lib/ddtrace/transport/http/statistics.rb b/lib/ddtrace/transport/http/statistics.rb index 82e62062ff2..3d8d7e0cdee 100644 --- a/lib/ddtrace/transport/http/statistics.rb +++ b/lib/ddtrace/transport/http/statistics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../statistics' module Datadog diff --git a/lib/ddtrace/transport/http/traces.rb b/lib/ddtrace/transport/http/traces.rb index 9403a644876..516ed0a0472 100644 --- a/lib/ddtrace/transport/http/traces.rb +++ b/lib/ddtrace/transport/http/traces.rb @@ -1,5 +1,3 @@ -# typed: false - require 'json' require_relative '../traces' diff --git a/lib/ddtrace/transport/io.rb b/lib/ddtrace/transport/io.rb index 88d4be8eef0..0b5ee350242 100644 --- a/lib/ddtrace/transport/io.rb +++ b/lib/ddtrace/transport/io.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../datadog/core/encoding' require_relative 'io/client' require_relative 'io/traces' diff --git a/lib/ddtrace/transport/io/client.rb b/lib/ddtrace/transport/io/client.rb index db0b82df763..0264fbaacf2 100644 --- a/lib/ddtrace/transport/io/client.rb +++ b/lib/ddtrace/transport/io/client.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../statistics' require_relative 'response' diff --git a/lib/ddtrace/transport/io/response.rb b/lib/ddtrace/transport/io/response.rb index dd378df29b9..b5802a063ba 100644 --- a/lib/ddtrace/transport/io/response.rb +++ b/lib/ddtrace/transport/io/response.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../response' module Datadog diff --git a/lib/ddtrace/transport/io/traces.rb b/lib/ddtrace/transport/io/traces.rb index 5bc4317b4b8..8e7ccc11cc1 100644 --- a/lib/ddtrace/transport/io/traces.rb +++ b/lib/ddtrace/transport/io/traces.rb @@ -1,5 +1,3 @@ -# typed: false - require_relative '../traces' require_relative 'response' diff --git a/lib/ddtrace/transport/parcel.rb b/lib/ddtrace/transport/parcel.rb index d995ffbcb84..de1cffa8d83 100644 --- a/lib/ddtrace/transport/parcel.rb +++ b/lib/ddtrace/transport/parcel.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport # Data transfer object for generic data diff --git a/lib/ddtrace/transport/request.rb b/lib/ddtrace/transport/request.rb index ab240242504..2eea5fccf72 100644 --- a/lib/ddtrace/transport/request.rb +++ b/lib/ddtrace/transport/request.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Transport # Defines request for transport operations diff --git a/lib/ddtrace/transport/response.rb b/lib/ddtrace/transport/response.rb index 99a05a9a80e..f25adf0bd93 100644 --- a/lib/ddtrace/transport/response.rb +++ b/lib/ddtrace/transport/response.rb @@ -1,5 +1,3 @@ -# typed: false - module Datadog module Transport # Defines abstract response for transport operations diff --git a/lib/ddtrace/transport/serializable_trace.rb b/lib/ddtrace/transport/serializable_trace.rb index c6f4ae46538..e0fe57058f2 100644 --- a/lib/ddtrace/transport/serializable_trace.rb +++ b/lib/ddtrace/transport/serializable_trace.rb @@ -1,5 +1,3 @@ -# typed: true - require 'json' require 'msgpack' diff --git a/lib/ddtrace/transport/statistics.rb b/lib/ddtrace/transport/statistics.rb index 734db23883b..83a331734c2 100644 --- a/lib/ddtrace/transport/statistics.rb +++ b/lib/ddtrace/transport/statistics.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../datadog/core/metrics/metric' require_relative '../../datadog/core/diagnostics/health' diff --git a/lib/ddtrace/transport/trace_formatter.rb b/lib/ddtrace/transport/trace_formatter.rb index 406067c4f21..81ae5f397a1 100644 --- a/lib/ddtrace/transport/trace_formatter.rb +++ b/lib/ddtrace/transport/trace_formatter.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../datadog/core/environment/identity' require_relative '../../datadog/core/environment/socket' require_relative '../../datadog/core/runtime/ext' diff --git a/lib/ddtrace/transport/traces.rb b/lib/ddtrace/transport/traces.rb index 77cb6dc4179..fb9d51bd41f 100644 --- a/lib/ddtrace/transport/traces.rb +++ b/lib/ddtrace/transport/traces.rb @@ -1,5 +1,3 @@ -# typed: true - require_relative '../../datadog/core/chunker' require_relative 'parcel' require_relative 'request' diff --git a/lib/ddtrace/version.rb b/lib/ddtrace/version.rb index 731a9583309..594091d2305 100644 --- a/lib/ddtrace/version.rb +++ b/lib/ddtrace/version.rb @@ -1,5 +1,3 @@ -# typed: true - module DDTrace module VERSION MAJOR = 1 diff --git a/spec/datadog/appsec/component_spec.rb b/spec/datadog/appsec/component_spec.rb index f10f244c382..ea1facc2fca 100644 --- a/spec/datadog/appsec/component_spec.rb +++ b/spec/datadog/appsec/component_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' require 'datadog/appsec/component' diff --git a/spec/datadog/appsec/configuration/settings_spec.rb b/spec/datadog/appsec/configuration/settings_spec.rb index e28f58ace96..174914ead3e 100644 --- a/spec/datadog/appsec/configuration/settings_spec.rb +++ b/spec/datadog/appsec/configuration/settings_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' RSpec.describe Datadog::AppSec::Configuration::Settings do diff --git a/spec/datadog/appsec/contrib/rack/integration_test_spec.rb b/spec/datadog/appsec/contrib/rack/integration_test_spec.rb index 0ad25f40e11..2fc192452df 100644 --- a/spec/datadog/appsec/contrib/rack/integration_test_spec.rb +++ b/spec/datadog/appsec/contrib/rack/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/datadog/appsec/contrib/rack/reactive/request_body_spec.rb b/spec/datadog/appsec/contrib/rack/reactive/request_body_spec.rb index 45e1efec395..fdc9a937402 100644 --- a/spec/datadog/appsec/contrib/rack/reactive/request_body_spec.rb +++ b/spec/datadog/appsec/contrib/rack/reactive/request_body_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/contrib/rack/reactive/request_spec.rb b/spec/datadog/appsec/contrib/rack/reactive/request_spec.rb index 81826561105..2f32aefdf03 100644 --- a/spec/datadog/appsec/contrib/rack/reactive/request_spec.rb +++ b/spec/datadog/appsec/contrib/rack/reactive/request_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/contrib/rack/reactive/response_spec.rb b/spec/datadog/appsec/contrib/rack/reactive/response_spec.rb index 337f1723593..9f11a1046b8 100644 --- a/spec/datadog/appsec/contrib/rack/reactive/response_spec.rb +++ b/spec/datadog/appsec/contrib/rack/reactive/response_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/contrib/rails/integration_test_spec.rb b/spec/datadog/appsec/contrib/rails/integration_test_spec.rb index 247ff9d04f3..2b228bc4887 100644 --- a/spec/datadog/appsec/contrib/rails/integration_test_spec.rb +++ b/spec/datadog/appsec/contrib/rails/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' require 'rack/test' diff --git a/spec/datadog/appsec/contrib/rails/reactive/action_spec.rb b/spec/datadog/appsec/contrib/rails/reactive/action_spec.rb index 4ef3f51fbda..a68f9a1b174 100644 --- a/spec/datadog/appsec/contrib/rails/reactive/action_spec.rb +++ b/spec/datadog/appsec/contrib/rails/reactive/action_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' require 'datadog/appsec/reactive/operation' require 'datadog/appsec/contrib/rails/reactive/action' diff --git a/spec/datadog/appsec/contrib/sinatra/integration_test_spec.rb b/spec/datadog/appsec/contrib/sinatra/integration_test_spec.rb index 677a06c1969..8b6e29ed6b9 100644 --- a/spec/datadog/appsec/contrib/sinatra/integration_test_spec.rb +++ b/spec/datadog/appsec/contrib/sinatra/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/datadog/appsec/contrib/sinatra/reactive/routed_spec.rb b/spec/datadog/appsec/contrib/sinatra/reactive/routed_spec.rb index d67bf80d289..c066866e8f8 100644 --- a/spec/datadog/appsec/contrib/sinatra/reactive/routed_spec.rb +++ b/spec/datadog/appsec/contrib/sinatra/reactive/routed_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/contrib/support/spec_helper.rb b/spec/datadog/appsec/contrib/support/spec_helper.rb index 1f3655867d0..62c4b747597 100644 --- a/spec/datadog/appsec/contrib/support/spec_helper.rb +++ b/spec/datadog/appsec/contrib/support/spec_helper.rb @@ -1,3 +1 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/appsec/event_spec.rb b/spec/datadog/appsec/event_spec.rb index 023048a7cb4..798ff67cbd9 100644 --- a/spec/datadog/appsec/event_spec.rb +++ b/spec/datadog/appsec/event_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' require 'datadog/appsec/event' diff --git a/spec/datadog/appsec/extensions_spec.rb b/spec/datadog/appsec/extensions_spec.rb index 48c8b3c0bd2..08c55fad380 100644 --- a/spec/datadog/appsec/extensions_spec.rb +++ b/spec/datadog/appsec/extensions_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' RSpec.describe Datadog::AppSec::Extensions do diff --git a/spec/datadog/appsec/instrumentation/gateway_spec.rb b/spec/datadog/appsec/instrumentation/gateway_spec.rb index 7a4f61dc9b7..f41394b2127 100644 --- a/spec/datadog/appsec/instrumentation/gateway_spec.rb +++ b/spec/datadog/appsec/instrumentation/gateway_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/monitor/reactive/set_user_spec.rb b/spec/datadog/appsec/monitor/reactive/set_user_spec.rb index 11e5381fcb2..5a0e1892b88 100644 --- a/spec/datadog/appsec/monitor/reactive/set_user_spec.rb +++ b/spec/datadog/appsec/monitor/reactive/set_user_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/processor_spec.rb b/spec/datadog/appsec/processor_spec.rb index 083f8f7aee4..dd3d8b0c6b1 100644 --- a/spec/datadog/appsec/processor_spec.rb +++ b/spec/datadog/appsec/processor_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/spec_helper' require 'datadog/appsec/processor' diff --git a/spec/datadog/appsec/reactive/engine_spec.rb b/spec/datadog/appsec/reactive/engine_spec.rb index 9167308517a..8e52edeeb73 100644 --- a/spec/datadog/appsec/reactive/engine_spec.rb +++ b/spec/datadog/appsec/reactive/engine_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/reactive/operation_spec.rb b/spec/datadog/appsec/reactive/operation_spec.rb index 47db0b877b5..81c0aff0f04 100644 --- a/spec/datadog/appsec/reactive/operation_spec.rb +++ b/spec/datadog/appsec/reactive/operation_spec.rb @@ -1,4 +1,3 @@ -# typed: ignore # frozen_string_literal: true require 'datadog/appsec/spec_helper' diff --git a/spec/datadog/appsec/spec_helper.rb b/spec/datadog/appsec/spec_helper.rb index cb2ba93decf..a332dc776dc 100644 --- a/spec/datadog/appsec/spec_helper.rb +++ b/spec/datadog/appsec/spec_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'ddtrace' require 'datadog/appsec' require 'spec_helper' diff --git a/spec/datadog/appsec/utils/http/media_range_spec.rb b/spec/datadog/appsec/utils/http/media_range_spec.rb index 42e731d26ce..f92e2ee4ab2 100644 --- a/spec/datadog/appsec/utils/http/media_range_spec.rb +++ b/spec/datadog/appsec/utils/http/media_range_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/utils/http/media_range' RSpec.describe Datadog::AppSec::Utils::HTTP::MediaRange do diff --git a/spec/datadog/appsec/utils/http/media_type_spec.rb b/spec/datadog/appsec/utils/http/media_type_spec.rb index 6e26ddd5afa..9f4312221ea 100644 --- a/spec/datadog/appsec/utils/http/media_type_spec.rb +++ b/spec/datadog/appsec/utils/http/media_type_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/appsec/utils/http/media_type' RSpec.describe Datadog::AppSec::Utils::HTTP::MediaType do diff --git a/spec/datadog/ci/configuration/components_spec.rb b/spec/datadog/ci/configuration/components_spec.rb index 5c8b3f91af2..407235f3f18 100644 --- a/spec/datadog/ci/configuration/components_spec.rb +++ b/spec/datadog/ci/configuration/components_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/spec_helper' require 'datadog/ci/configuration/components' diff --git a/spec/datadog/ci/configuration/settings_spec.rb b/spec/datadog/ci/configuration/settings_spec.rb index 0a23f1b0c69..37be0347b06 100644 --- a/spec/datadog/ci/configuration/settings_spec.rb +++ b/spec/datadog/ci/configuration/settings_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/spec_helper' require 'datadog/ci/configuration/settings' diff --git a/spec/datadog/ci/contrib/cucumber/formatter_spec.rb b/spec/datadog/ci/contrib/cucumber/formatter_spec.rb index 91fa09da33b..2148aab2c69 100644 --- a/spec/datadog/ci/contrib/cucumber/formatter_spec.rb +++ b/spec/datadog/ci/contrib/cucumber/formatter_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/ci/contrib/support/spec_helper' require 'stringio' diff --git a/spec/datadog/ci/contrib/cucumber/integration_spec.rb b/spec/datadog/ci/contrib/cucumber/integration_spec.rb index c2ef51255d5..3f333578f1e 100644 --- a/spec/datadog/ci/contrib/cucumber/integration_spec.rb +++ b/spec/datadog/ci/contrib/cucumber/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/ci/contrib/support/spec_helper' require 'datadog/ci/contrib/cucumber/integration' diff --git a/spec/datadog/ci/contrib/cucumber/patcher_spec.rb b/spec/datadog/ci/contrib/cucumber/patcher_spec.rb index 948e4749f2e..a76970140dd 100644 --- a/spec/datadog/ci/contrib/cucumber/patcher_spec.rb +++ b/spec/datadog/ci/contrib/cucumber/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/contrib/support/spec_helper' require 'datadog/ci/contrib/cucumber/patcher' diff --git a/spec/datadog/ci/contrib/rspec/instrumentation_spec.rb b/spec/datadog/ci/contrib/rspec/instrumentation_spec.rb index aaae17c7a13..94d6b09f298 100644 --- a/spec/datadog/ci/contrib/rspec/instrumentation_spec.rb +++ b/spec/datadog/ci/contrib/rspec/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'time' require 'datadog/tracing' diff --git a/spec/datadog/ci/contrib/rspec/integration_spec.rb b/spec/datadog/ci/contrib/rspec/integration_spec.rb index 98476a3eae5..ad1cb5412b5 100644 --- a/spec/datadog/ci/contrib/rspec/integration_spec.rb +++ b/spec/datadog/ci/contrib/rspec/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/ci/contrib/support/spec_helper' require 'datadog/ci/contrib/rspec/integration' diff --git a/spec/datadog/ci/contrib/rspec/patcher_spec.rb b/spec/datadog/ci/contrib/rspec/patcher_spec.rb index 3dafe763e3c..72e9b14937b 100644 --- a/spec/datadog/ci/contrib/rspec/patcher_spec.rb +++ b/spec/datadog/ci/contrib/rspec/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/contrib/support/spec_helper' require 'datadog/ci/contrib/rspec/patcher' diff --git a/spec/datadog/ci/contrib/rspec/some_shared_examples.rb b/spec/datadog/ci/contrib/rspec/some_shared_examples.rb index 725180854ec..795dec03e0a 100644 --- a/spec/datadog/ci/contrib/rspec/some_shared_examples.rb +++ b/spec/datadog/ci/contrib/rspec/some_shared_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_examples 'Testing shared examples' do it { expect(1 + 1).to eq(2) } end diff --git a/spec/datadog/ci/contrib/support/mode_helpers.rb b/spec/datadog/ci/contrib/support/mode_helpers.rb index 5329405cd8d..cf86ed9dbee 100644 --- a/spec/datadog/ci/contrib/support/mode_helpers.rb +++ b/spec/datadog/ci/contrib/support/mode_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/core/configuration/settings' require 'datadog/core/configuration/components' diff --git a/spec/datadog/ci/contrib/support/spec_helper.rb b/spec/datadog/ci/contrib/support/spec_helper.rb index d934b58c9f9..6837f88e054 100644 --- a/spec/datadog/ci/contrib/support/spec_helper.rb +++ b/spec/datadog/ci/contrib/support/spec_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/ci/spec_helper' require 'datadog/ci/contrib/support/mode_helpers' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/ci/ext/environment_spec.rb b/spec/datadog/ci/ext/environment_spec.rb index 7bb815a4485..241449478d5 100644 --- a/spec/datadog/ci/ext/environment_spec.rb +++ b/spec/datadog/ci/ext/environment_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/spec_helper' require 'json' diff --git a/spec/datadog/ci/flush_spec.rb b/spec/datadog/ci/flush_spec.rb index a8df081e07b..1200c1872d4 100644 --- a/spec/datadog/ci/flush_spec.rb +++ b/spec/datadog/ci/flush_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/spec_helper' require 'datadog/ci/flush' diff --git a/spec/datadog/ci/spec_helper.rb b/spec/datadog/ci/spec_helper.rb index c50059b572a..1dd5a667276 100644 --- a/spec/datadog/ci/spec_helper.rb +++ b/spec/datadog/ci/spec_helper.rb @@ -1,4 +1,2 @@ -# typed: strict - require 'datadog/ci' require 'spec_helper' diff --git a/spec/datadog/ci/test_spec.rb b/spec/datadog/ci/test_spec.rb index b67700e6b1f..808df654b9a 100644 --- a/spec/datadog/ci/test_spec.rb +++ b/spec/datadog/ci/test_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/ci/spec_helper' require 'datadog/ci/test' diff --git a/spec/datadog/core/buffer/cruby_spec.rb b/spec/datadog/core/buffer/cruby_spec.rb index 85507a557bf..0ba69ddda9a 100644 --- a/spec/datadog/core/buffer/cruby_spec.rb +++ b/spec/datadog/core/buffer/cruby_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/buffer/shared_examples' diff --git a/spec/datadog/core/buffer/random_spec.rb b/spec/datadog/core/buffer/random_spec.rb index 1d8aa84c5aa..7e1d371509c 100644 --- a/spec/datadog/core/buffer/random_spec.rb +++ b/spec/datadog/core/buffer/random_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'benchmark' diff --git a/spec/datadog/core/buffer/shared_examples.rb b/spec/datadog/core/buffer/shared_examples.rb index bbda91ec258..45667e89553 100644 --- a/spec/datadog/core/buffer/shared_examples.rb +++ b/spec/datadog/core/buffer/shared_examples.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'benchmark' diff --git a/spec/datadog/core/buffer/thread_safe_spec.rb b/spec/datadog/core/buffer/thread_safe_spec.rb index 1609c8e02a1..a6ce5954b3b 100644 --- a/spec/datadog/core/buffer/thread_safe_spec.rb +++ b/spec/datadog/core/buffer/thread_safe_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/buffer/shared_examples' diff --git a/spec/datadog/core/chunker_spec.rb b/spec/datadog/core/chunker_spec.rb index 6205f30ace4..63635ead5dd 100644 --- a/spec/datadog/core/chunker_spec.rb +++ b/spec/datadog/core/chunker_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/chunker' diff --git a/spec/datadog/core/configuration/agent_settings_resolver_spec.rb b/spec/datadog/core/configuration/agent_settings_resolver_spec.rb index 09ebcf5fbef..0e000126d43 100644 --- a/spec/datadog/core/configuration/agent_settings_resolver_spec.rb +++ b/spec/datadog/core/configuration/agent_settings_resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/core/configuration/agent_settings_resolver' require 'datadog/core/configuration/settings' diff --git a/spec/datadog/core/configuration/base_spec.rb b/spec/datadog/core/configuration/base_spec.rb index 7d3de1fa178..b33ceb5bc22 100644 --- a/spec/datadog/core/configuration/base_spec.rb +++ b/spec/datadog/core/configuration/base_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/components_spec.rb b/spec/datadog/core/configuration/components_spec.rb index a52d3978e7c..34c384219e4 100644 --- a/spec/datadog/core/configuration/components_spec.rb +++ b/spec/datadog/core/configuration/components_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/core/configuration/dependency_resolver_spec.rb b/spec/datadog/core/configuration/dependency_resolver_spec.rb index 13155b0cb04..b9a6fc90129 100644 --- a/spec/datadog/core/configuration/dependency_resolver_spec.rb +++ b/spec/datadog/core/configuration/dependency_resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/option_definition_set_spec.rb b/spec/datadog/core/configuration/option_definition_set_spec.rb index 61ff13bd4b9..b61409ad4c6 100644 --- a/spec/datadog/core/configuration/option_definition_set_spec.rb +++ b/spec/datadog/core/configuration/option_definition_set_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/option_definition_spec.rb b/spec/datadog/core/configuration/option_definition_spec.rb index d9096573fe7..fb2a899791c 100644 --- a/spec/datadog/core/configuration/option_definition_spec.rb +++ b/spec/datadog/core/configuration/option_definition_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/option_set_spec.rb b/spec/datadog/core/configuration/option_set_spec.rb index b21f575a283..b9145b7b919 100644 --- a/spec/datadog/core/configuration/option_set_spec.rb +++ b/spec/datadog/core/configuration/option_set_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/option_spec.rb b/spec/datadog/core/configuration/option_spec.rb index d2b267054a8..a1d922f80ed 100644 --- a/spec/datadog/core/configuration/option_spec.rb +++ b/spec/datadog/core/configuration/option_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/options_spec.rb b/spec/datadog/core/configuration/options_spec.rb index 4d07a900937..a8baa484f49 100644 --- a/spec/datadog/core/configuration/options_spec.rb +++ b/spec/datadog/core/configuration/options_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core/configuration/settings_spec.rb b/spec/datadog/core/configuration/settings_spec.rb index dde0df9685e..d9f07958e98 100644 --- a/spec/datadog/core/configuration/settings_spec.rb +++ b/spec/datadog/core/configuration/settings_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'securerandom' diff --git a/spec/datadog/core/configuration_spec.rb b/spec/datadog/core/configuration_spec.rb index b6c4fe88efb..efce826d733 100644 --- a/spec/datadog/core/configuration_spec.rb +++ b/spec/datadog/core/configuration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/core/diagnostics/environment_logger_spec.rb b/spec/datadog/core/diagnostics/environment_logger_spec.rb index 5fc9c262538..f9f549c486b 100644 --- a/spec/datadog/core/diagnostics/environment_logger_spec.rb +++ b/spec/datadog/core/diagnostics/environment_logger_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/diagnostics/environment_logger' diff --git a/spec/datadog/core/encoding_spec.rb b/spec/datadog/core/encoding_spec.rb index 863e7cbf3e4..0b8662dc92d 100644 --- a/spec/datadog/core/encoding_spec.rb +++ b/spec/datadog/core/encoding_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/encoding' diff --git a/spec/datadog/core/environment/cgroup_spec.rb b/spec/datadog/core/environment/cgroup_spec.rb index 71c5457bd3f..d236e59b2ee 100644 --- a/spec/datadog/core/environment/cgroup_spec.rb +++ b/spec/datadog/core/environment/cgroup_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/cgroup' diff --git a/spec/datadog/core/environment/class_count_spec.rb b/spec/datadog/core/environment/class_count_spec.rb index 169a9451b74..39803e690ce 100644 --- a/spec/datadog/core/environment/class_count_spec.rb +++ b/spec/datadog/core/environment/class_count_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/class_count' diff --git a/spec/datadog/core/environment/container_spec.rb b/spec/datadog/core/environment/container_spec.rb index 23a428facd0..1362c444c31 100644 --- a/spec/datadog/core/environment/container_spec.rb +++ b/spec/datadog/core/environment/container_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/container' diff --git a/spec/datadog/core/environment/gc_spec.rb b/spec/datadog/core/environment/gc_spec.rb index 27521dac75c..fd0d4c13882 100644 --- a/spec/datadog/core/environment/gc_spec.rb +++ b/spec/datadog/core/environment/gc_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/gc' diff --git a/spec/datadog/core/environment/identity_spec.rb b/spec/datadog/core/environment/identity_spec.rb index a29e692671c..a07739d7d0e 100644 --- a/spec/datadog/core/environment/identity_spec.rb +++ b/spec/datadog/core/environment/identity_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/identity' diff --git a/spec/datadog/core/environment/platform_spec.rb b/spec/datadog/core/environment/platform_spec.rb index aac21aaf963..8928df5b5a0 100644 --- a/spec/datadog/core/environment/platform_spec.rb +++ b/spec/datadog/core/environment/platform_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/platform' diff --git a/spec/datadog/core/environment/socket_spec.rb b/spec/datadog/core/environment/socket_spec.rb index 572e0ec7bd3..b4b34e01e84 100644 --- a/spec/datadog/core/environment/socket_spec.rb +++ b/spec/datadog/core/environment/socket_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/socket' diff --git a/spec/datadog/core/environment/thread_count_spec.rb b/spec/datadog/core/environment/thread_count_spec.rb index 3f8429d9b78..3dac187245b 100644 --- a/spec/datadog/core/environment/thread_count_spec.rb +++ b/spec/datadog/core/environment/thread_count_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/thread_count' diff --git a/spec/datadog/core/environment/variable_helpers_spec.rb b/spec/datadog/core/environment/variable_helpers_spec.rb index de7261ad154..ae4e4ed2855 100644 --- a/spec/datadog/core/environment/variable_helpers_spec.rb +++ b/spec/datadog/core/environment/variable_helpers_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/variable_helpers' diff --git a/spec/datadog/core/environment/vm_cache_spec.rb b/spec/datadog/core/environment/vm_cache_spec.rb index 9e8d2f3a989..b8d0656d603 100644 --- a/spec/datadog/core/environment/vm_cache_spec.rb +++ b/spec/datadog/core/environment/vm_cache_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/vm_cache' diff --git a/spec/datadog/core/error_spec.rb b/spec/datadog/core/error_spec.rb index b867568304a..bd79a7523d9 100644 --- a/spec/datadog/core/error_spec.rb +++ b/spec/datadog/core/error_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'benchmark' diff --git a/spec/datadog/core/logger_spec.rb b/spec/datadog/core/logger_spec.rb index 3c35e350a3a..74cf7830e70 100644 --- a/spec/datadog/core/logger_spec.rb +++ b/spec/datadog/core/logger_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/logger' diff --git a/spec/datadog/core/metrics/client_spec.rb b/spec/datadog/core/metrics/client_spec.rb index f5d38a9e436..071eb6732d0 100644 --- a/spec/datadog/core/metrics/client_spec.rb +++ b/spec/datadog/core/metrics/client_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/statsd' diff --git a/spec/datadog/core/metrics/logging_spec.rb b/spec/datadog/core/metrics/logging_spec.rb index 2212e56594f..9dfcf95878a 100644 --- a/spec/datadog/core/metrics/logging_spec.rb +++ b/spec/datadog/core/metrics/logging_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'logger' diff --git a/spec/datadog/core/metrics/options_spec.rb b/spec/datadog/core/metrics/options_spec.rb index d54b16c9c36..f4dedf22ca1 100644 --- a/spec/datadog/core/metrics/options_spec.rb +++ b/spec/datadog/core/metrics/options_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/metrics/ext' diff --git a/spec/datadog/core/pin_spec.rb b/spec/datadog/core/pin_spec.rb index 8721e144c82..57a09eeaa9b 100644 --- a/spec/datadog/core/pin_spec.rb +++ b/spec/datadog/core/pin_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/pin' diff --git a/spec/datadog/core/runtime/metrics_spec.rb b/spec/datadog/core/runtime/metrics_spec.rb index b833267db48..cd0536ce0c8 100644 --- a/spec/datadog/core/runtime/metrics_spec.rb +++ b/spec/datadog/core/runtime/metrics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' require 'datadog/core/metrics/client' diff --git a/spec/datadog/core/telemetry/collector_spec.rb b/spec/datadog/core/telemetry/collector_spec.rb index dc5c75c600f..c81c1082ec5 100644 --- a/spec/datadog/core/telemetry/collector_spec.rb +++ b/spec/datadog/core/telemetry/collector_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/core/configuration' diff --git a/spec/datadog/core/telemetry/heartbeat_spec.rb b/spec/datadog/core/telemetry/heartbeat_spec.rb index 5d2cce3d2d0..1e994a0fe40 100644 --- a/spec/datadog/core/telemetry/heartbeat_spec.rb +++ b/spec/datadog/core/telemetry/heartbeat_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/telemetry/heartbeat' diff --git a/spec/datadog/core/telemetry/http/adapters/net_spec.rb b/spec/datadog/core/telemetry/http/adapters/net_spec.rb index e912a9cf3e0..e4513c0ae87 100644 --- a/spec/datadog/core/telemetry/http/adapters/net_spec.rb +++ b/spec/datadog/core/telemetry/http/adapters/net_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/telemetry/http/adapters/net' diff --git a/spec/datadog/core/telemetry/http/env_spec.rb b/spec/datadog/core/telemetry/http/env_spec.rb index 144225ea2ec..33420aa5375 100644 --- a/spec/datadog/core/telemetry/http/env_spec.rb +++ b/spec/datadog/core/telemetry/http/env_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/telemetry/http/env' diff --git a/spec/datadog/core/telemetry/http/response_spec.rb b/spec/datadog/core/telemetry/http/response_spec.rb index b25d9b7387e..744700b40b1 100644 --- a/spec/datadog/core/telemetry/http/response_spec.rb +++ b/spec/datadog/core/telemetry/http/response_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/telemetry/http/response' diff --git a/spec/datadog/core/telemetry/http/transport_spec.rb b/spec/datadog/core/telemetry/http/transport_spec.rb index 95625271e68..449d35712d3 100644 --- a/spec/datadog/core/telemetry/http/transport_spec.rb +++ b/spec/datadog/core/telemetry/http/transport_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/telemetry/http/transport' diff --git a/spec/datadog/core/utils/compression_spec.rb b/spec/datadog/core/utils/compression_spec.rb index 7171fad4c14..fb111ddecc3 100644 --- a/spec/datadog/core/utils/compression_spec.rb +++ b/spec/datadog/core/utils/compression_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'securerandom' require 'datadog/core/utils/compression' diff --git a/spec/datadog/core/utils/forking_spec.rb b/spec/datadog/core/utils/forking_spec.rb index 69b8b4f1187..7158f878289 100644 --- a/spec/datadog/core/utils/forking_spec.rb +++ b/spec/datadog/core/utils/forking_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/utils/forking' diff --git a/spec/datadog/core/utils/object_set_spec.rb b/spec/datadog/core/utils/object_set_spec.rb index 1e0b95661ae..4cbbbfbb645 100644 --- a/spec/datadog/core/utils/object_set_spec.rb +++ b/spec/datadog/core/utils/object_set_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/utils/object_set' diff --git a/spec/datadog/core/utils/only_once_spec.rb b/spec/datadog/core/utils/only_once_spec.rb index 012bf374538..68682e364fd 100644 --- a/spec/datadog/core/utils/only_once_spec.rb +++ b/spec/datadog/core/utils/only_once_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/core/utils/only_once' RSpec.describe Datadog::Core::Utils::OnlyOnce do diff --git a/spec/datadog/core/utils/sequence_spec.rb b/spec/datadog/core/utils/sequence_spec.rb index d58af803205..52a01065697 100644 --- a/spec/datadog/core/utils/sequence_spec.rb +++ b/spec/datadog/core/utils/sequence_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/utils/sequence' diff --git a/spec/datadog/core/utils/string_table_spec.rb b/spec/datadog/core/utils/string_table_spec.rb index bc1e722e80a..23c70e8cd1b 100644 --- a/spec/datadog/core/utils/string_table_spec.rb +++ b/spec/datadog/core/utils/string_table_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/utils/string_table' diff --git a/spec/datadog/core/utils/time_spec.rb b/spec/datadog/core/utils/time_spec.rb index e9831027d7c..6c442f0fdb9 100644 --- a/spec/datadog/core/utils/time_spec.rb +++ b/spec/datadog/core/utils/time_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'time' diff --git a/spec/datadog/core/utils_spec.rb b/spec/datadog/core/utils_spec.rb index 9bdba06c347..8dd751449f9 100644 --- a/spec/datadog/core/utils_spec.rb +++ b/spec/datadog/core/utils_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'concurrent-ruby' diff --git a/spec/datadog/core/worker_spec.rb b/spec/datadog/core/worker_spec.rb index 3181627cf41..85eb5cbde33 100644 --- a/spec/datadog/core/worker_spec.rb +++ b/spec/datadog/core/worker_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/worker' diff --git a/spec/datadog/core/workers/async_spec.rb b/spec/datadog/core/workers/async_spec.rb index 955f2aa802a..11f33abeef1 100644 --- a/spec/datadog/core/workers/async_spec.rb +++ b/spec/datadog/core/workers/async_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/worker' diff --git a/spec/datadog/core/workers/interval_loop_spec.rb b/spec/datadog/core/workers/interval_loop_spec.rb index 071debb233a..5f4bdcc3815 100644 --- a/spec/datadog/core/workers/interval_loop_spec.rb +++ b/spec/datadog/core/workers/interval_loop_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/worker' diff --git a/spec/datadog/core/workers/polling_spec.rb b/spec/datadog/core/workers/polling_spec.rb index 4b72daf1ab6..072bb07bcc7 100644 --- a/spec/datadog/core/workers/polling_spec.rb +++ b/spec/datadog/core/workers/polling_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/worker' diff --git a/spec/datadog/core/workers/queue_spec.rb b/spec/datadog/core/workers/queue_spec.rb index eb39de49d40..df60de2c053 100644 --- a/spec/datadog/core/workers/queue_spec.rb +++ b/spec/datadog/core/workers/queue_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/worker' diff --git a/spec/datadog/core/workers/runtime_metrics_spec.rb b/spec/datadog/core/workers/runtime_metrics_spec.rb index a8b94aefb5f..c09117f2479 100644 --- a/spec/datadog/core/workers/runtime_metrics_spec.rb +++ b/spec/datadog/core/workers/runtime_metrics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/datadog/core_spec.rb b/spec/datadog/core_spec.rb index f9184ca8092..a979921dd06 100644 --- a/spec/datadog/core_spec.rb +++ b/spec/datadog/core_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core' diff --git a/spec/datadog/integration_spec.rb b/spec/datadog/integration_spec.rb index 980926caa58..6b483991486 100644 --- a/spec/datadog/integration_spec.rb +++ b/spec/datadog/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing' require 'datadog/opentracer' require 'datadog/statsd' diff --git a/spec/datadog/kit/appsec/events_spec.rb b/spec/datadog/kit/appsec/events_spec.rb index 234ec518c70..648f11ec039 100644 --- a/spec/datadog/kit/appsec/events_spec.rb +++ b/spec/datadog/kit/appsec/events_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'time' diff --git a/spec/datadog/kit/enable_core_dumps_spec.rb b/spec/datadog/kit/enable_core_dumps_spec.rb index 83dd9ef60ff..a0ccb70ef35 100644 --- a/spec/datadog/kit/enable_core_dumps_spec.rb +++ b/spec/datadog/kit/enable_core_dumps_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.describe 'Datadog::Kit::EnableCoreDumps' do before do # Make sure we don't touch the actual real value diff --git a/spec/datadog/kit/identity_spec.rb b/spec/datadog/kit/identity_spec.rb index d21c98d69a6..b270f7c2755 100644 --- a/spec/datadog/kit/identity_spec.rb +++ b/spec/datadog/kit/identity_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'time' diff --git a/spec/datadog/opentelemetry_spec.rb b/spec/datadog/opentelemetry_spec.rb index c5fe4bc5d9b..7a3c9444a49 100644 --- a/spec/datadog/opentelemetry_spec.rb +++ b/spec/datadog/opentelemetry_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'opentelemetry/sdk' require 'datadog/opentelemetry' diff --git a/spec/datadog/opentracer/binary_propagator_spec.rb b/spec/datadog/opentracer/binary_propagator_spec.rb index e8be62b7ade..8ba7bb79e86 100644 --- a/spec/datadog/opentracer/binary_propagator_spec.rb +++ b/spec/datadog/opentracer/binary_propagator_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/carrier_spec.rb b/spec/datadog/opentracer/carrier_spec.rb index c35d13c181d..e7ea4a7ee72 100644 --- a/spec/datadog/opentracer/carrier_spec.rb +++ b/spec/datadog/opentracer/carrier_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/distributed_headers_spec.rb b/spec/datadog/opentracer/distributed_headers_spec.rb index 33e30ffd6e6..3967a09564b 100644 --- a/spec/datadog/opentracer/distributed_headers_spec.rb +++ b/spec/datadog/opentracer/distributed_headers_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/utils' diff --git a/spec/datadog/opentracer/global_tracer_spec.rb b/spec/datadog/opentracer/global_tracer_spec.rb index 0ea449104da..203b3144266 100644 --- a/spec/datadog/opentracer/global_tracer_spec.rb +++ b/spec/datadog/opentracer/global_tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing' diff --git a/spec/datadog/opentracer/propagation_integration_spec.rb b/spec/datadog/opentracer/propagation_integration_spec.rb index b4b32f376e3..12f43239cdc 100644 --- a/spec/datadog/opentracer/propagation_integration_spec.rb +++ b/spec/datadog/opentracer/propagation_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/utils' diff --git a/spec/datadog/opentracer/propagator_spec.rb b/spec/datadog/opentracer/propagator_spec.rb index 885581451f8..669d3e66c8b 100644 --- a/spec/datadog/opentracer/propagator_spec.rb +++ b/spec/datadog/opentracer/propagator_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/rack_propagator_spec.rb b/spec/datadog/opentracer/rack_propagator_spec.rb index a05b1fa8b95..a0a0ad4b3ea 100644 --- a/spec/datadog/opentracer/rack_propagator_spec.rb +++ b/spec/datadog/opentracer/rack_propagator_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/context' diff --git a/spec/datadog/opentracer/scope_manager_spec.rb b/spec/datadog/opentracer/scope_manager_spec.rb index 3359086267d..3a281647a74 100644 --- a/spec/datadog/opentracer/scope_manager_spec.rb +++ b/spec/datadog/opentracer/scope_manager_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/scope_spec.rb b/spec/datadog/opentracer/scope_spec.rb index f227acacca5..aac759deaa5 100644 --- a/spec/datadog/opentracer/scope_spec.rb +++ b/spec/datadog/opentracer/scope_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/span_context_factory_spec.rb b/spec/datadog/opentracer/span_context_factory_spec.rb index 1033a53f1fd..29fb4c760ba 100644 --- a/spec/datadog/opentracer/span_context_factory_spec.rb +++ b/spec/datadog/opentracer/span_context_factory_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/context' diff --git a/spec/datadog/opentracer/span_context_spec.rb b/spec/datadog/opentracer/span_context_spec.rb index 692b177e15e..63bc1741285 100644 --- a/spec/datadog/opentracer/span_context_spec.rb +++ b/spec/datadog/opentracer/span_context_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/context' diff --git a/spec/datadog/opentracer/span_spec.rb b/spec/datadog/opentracer/span_spec.rb index d71cf12f34b..ab8e0ddef86 100644 --- a/spec/datadog/opentracer/span_spec.rb +++ b/spec/datadog/opentracer/span_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'time' diff --git a/spec/datadog/opentracer/text_map_propagator_spec.rb b/spec/datadog/opentracer/text_map_propagator_spec.rb index 9e1137aa600..c50fe49c749 100644 --- a/spec/datadog/opentracer/text_map_propagator_spec.rb +++ b/spec/datadog/opentracer/text_map_propagator_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/context' diff --git a/spec/datadog/opentracer/thread_local_scope_manager_spec.rb b/spec/datadog/opentracer/thread_local_scope_manager_spec.rb index ee9bcf3a902..34805f36701 100644 --- a/spec/datadog/opentracer/thread_local_scope_manager_spec.rb +++ b/spec/datadog/opentracer/thread_local_scope_manager_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/thread_local_scope_spec.rb b/spec/datadog/opentracer/thread_local_scope_spec.rb index 175fc090c4c..d75cbbc4f10 100644 --- a/spec/datadog/opentracer/thread_local_scope_spec.rb +++ b/spec/datadog/opentracer/thread_local_scope_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/tracer_integration_spec.rb b/spec/datadog/opentracer/tracer_integration_spec.rb index b5905767541..191c091515e 100644 --- a/spec/datadog/opentracer/tracer_integration_spec.rb +++ b/spec/datadog/opentracer/tracer_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/opentracer' diff --git a/spec/datadog/opentracer/tracer_spec.rb b/spec/datadog/opentracer/tracer_spec.rb index 158b16c4bfa..d57ac126e60 100644 --- a/spec/datadog/opentracer/tracer_spec.rb +++ b/spec/datadog/opentracer/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/tracer' diff --git a/spec/datadog/profiling/backtrace_location_spec.rb b/spec/datadog/profiling/backtrace_location_spec.rb index f06d3287d08..a59017ace76 100644 --- a/spec/datadog/profiling/backtrace_location_spec.rb +++ b/spec/datadog/profiling/backtrace_location_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/backtrace_location' diff --git a/spec/datadog/profiling/buffer_spec.rb b/spec/datadog/profiling/buffer_spec.rb index 4491afb08ed..30696517bf4 100644 --- a/spec/datadog/profiling/buffer_spec.rb +++ b/spec/datadog/profiling/buffer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/buffer' diff --git a/spec/datadog/profiling/collectors/code_provenance_spec.rb b/spec/datadog/profiling/collectors/code_provenance_spec.rb index a547db69352..51ae2a2a8d1 100644 --- a/spec/datadog/profiling/collectors/code_provenance_spec.rb +++ b/spec/datadog/profiling/collectors/code_provenance_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/collectors/code_provenance' require 'json-schema' diff --git a/spec/datadog/profiling/collectors/cpu_and_wall_time_spec.rb b/spec/datadog/profiling/collectors/cpu_and_wall_time_spec.rb index bf68cf81c1a..6d8c5bff83f 100644 --- a/spec/datadog/profiling/collectors/cpu_and_wall_time_spec.rb +++ b/spec/datadog/profiling/collectors/cpu_and_wall_time_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' require 'datadog/profiling/collectors/cpu_and_wall_time' diff --git a/spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb b/spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb index d0205c67b48..0224b4e7030 100644 --- a/spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb +++ b/spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' require 'datadog/profiling/collectors/cpu_and_wall_time_worker' diff --git a/spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb b/spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb index b6e1b12bba7..02ac2404f48 100644 --- a/spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb +++ b/spec/datadog/profiling/collectors/dynamic_sampling_rate_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/spec_helper' require 'datadog/profiling/collectors/dynamic_sampling_rate' diff --git a/spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb b/spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb index 239e96b4f87..152c53fcf4c 100644 --- a/spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb +++ b/spec/datadog/profiling/collectors/idle_sampling_helper_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/spec_helper' require 'datadog/profiling/collectors/idle_sampling_helper' diff --git a/spec/datadog/profiling/collectors/interesting_backtrace_helper.rb b/spec/datadog/profiling/collectors/interesting_backtrace_helper.rb index 067a4547bb8..07f778f8043 100644 --- a/spec/datadog/profiling/collectors/interesting_backtrace_helper.rb +++ b/spec/datadog/profiling/collectors/interesting_backtrace_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - # This (very bizarre file) gets used from `stack_spec.rb`. It tries to reproduce the most interesting (contrived?) call # stack I can think of, with as many weird variants as possible. # The objective is to thoroughly test our stack trace sampling abilities. diff --git a/spec/datadog/profiling/collectors/old_stack_spec.rb b/spec/datadog/profiling/collectors/old_stack_spec.rb index f5bcb9eadf3..afddfdb1215 100644 --- a/spec/datadog/profiling/collectors/old_stack_spec.rb +++ b/spec/datadog/profiling/collectors/old_stack_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/collectors/stack_spec.rb b/spec/datadog/profiling/collectors/stack_spec.rb index d02ce38b708..87c9224e6ce 100644 --- a/spec/datadog/profiling/collectors/stack_spec.rb +++ b/spec/datadog/profiling/collectors/stack_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' require 'datadog/profiling/collectors/stack' diff --git a/spec/datadog/profiling/encoding/profile_spec.rb b/spec/datadog/profiling/encoding/profile_spec.rb index fa8422390e4..8d214aa141a 100644 --- a/spec/datadog/profiling/encoding/profile_spec.rb +++ b/spec/datadog/profiling/encoding/profile_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/flush' diff --git a/spec/datadog/profiling/event_spec.rb b/spec/datadog/profiling/event_spec.rb index 68396d25376..0d8120e886d 100644 --- a/spec/datadog/profiling/event_spec.rb +++ b/spec/datadog/profiling/event_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/event' diff --git a/spec/datadog/profiling/events/stack_spec.rb b/spec/datadog/profiling/events/stack_spec.rb index b94c5ba76e4..fe22ba2f2b6 100644 --- a/spec/datadog/profiling/events/stack_spec.rb +++ b/spec/datadog/profiling/events/stack_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/events/stack' diff --git a/spec/datadog/profiling/exporter_spec.rb b/spec/datadog/profiling/exporter_spec.rb index a7efc708223..1967c6bf869 100644 --- a/spec/datadog/profiling/exporter_spec.rb +++ b/spec/datadog/profiling/exporter_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/exporter' require 'datadog/profiling/old_recorder' require 'datadog/profiling/collectors/code_provenance' diff --git a/spec/datadog/profiling/ext/forking_spec.rb b/spec/datadog/profiling/ext/forking_spec.rb index d3b83df9317..cb504d078b5 100644 --- a/spec/datadog/profiling/ext/forking_spec.rb +++ b/spec/datadog/profiling/ext/forking_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/spec_helper' require 'datadog/profiling/ext/forking' diff --git a/spec/datadog/profiling/flush_spec.rb b/spec/datadog/profiling/flush_spec.rb index 33357b6650f..1ad0274d48d 100644 --- a/spec/datadog/profiling/flush_spec.rb +++ b/spec/datadog/profiling/flush_spec.rb @@ -1,5 +1,3 @@ -# typed: false - RSpec.describe Datadog::Profiling::Flush do describe '.new' do let(:start) { instance_double(Time, 'start time') } diff --git a/spec/datadog/profiling/http_transport_spec.rb b/spec/datadog/profiling/http_transport_spec.rb index 7bdccea180e..11abe250a33 100644 --- a/spec/datadog/profiling/http_transport_spec.rb +++ b/spec/datadog/profiling/http_transport_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' require 'datadog/profiling/http_transport' diff --git a/spec/datadog/profiling/integration_spec.rb b/spec/datadog/profiling/integration_spec.rb index a689772a4da..76eb74a5bdc 100644 --- a/spec/datadog/profiling/integration_spec.rb +++ b/spec/datadog/profiling/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/native_extension_helpers_spec.rb b/spec/datadog/profiling/native_extension_helpers_spec.rb index 3104f8c11b5..d26a67a13ca 100644 --- a/spec/datadog/profiling/native_extension_helpers_spec.rb +++ b/spec/datadog/profiling/native_extension_helpers_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'ext/ddtrace_profiling_native_extension/native_extension_helpers' require 'libdatadog' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/native_extension_spec.rb b/spec/datadog/profiling/native_extension_spec.rb index 9b29f2fd4be..568292daac8 100644 --- a/spec/datadog/profiling/native_extension_spec.rb +++ b/spec/datadog/profiling/native_extension_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' RSpec.describe Datadog::Profiling::NativeExtension do diff --git a/spec/datadog/profiling/old_recorder_spec.rb b/spec/datadog/profiling/old_recorder_spec.rb index fbe282d3e5f..0f1547f2b28 100644 --- a/spec/datadog/profiling/old_recorder_spec.rb +++ b/spec/datadog/profiling/old_recorder_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/old_recorder' diff --git a/spec/datadog/profiling/pprof/builder_spec.rb b/spec/datadog/profiling/pprof/builder_spec.rb index eac240d83bc..c58b962742f 100644 --- a/spec/datadog/profiling/pprof/builder_spec.rb +++ b/spec/datadog/profiling/pprof/builder_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/pprof/converter_spec.rb b/spec/datadog/profiling/pprof/converter_spec.rb index 19255a968fa..d60cc1e842f 100644 --- a/spec/datadog/profiling/pprof/converter_spec.rb +++ b/spec/datadog/profiling/pprof/converter_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/pprof/builder' diff --git a/spec/datadog/profiling/pprof/message_set_spec.rb b/spec/datadog/profiling/pprof/message_set_spec.rb index 1d911ed483f..78934bbba26 100644 --- a/spec/datadog/profiling/pprof/message_set_spec.rb +++ b/spec/datadog/profiling/pprof/message_set_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/pprof/message_set' diff --git a/spec/datadog/profiling/pprof/payload_spec.rb b/spec/datadog/profiling/pprof/payload_spec.rb index ba7dc4775c4..e447824df92 100644 --- a/spec/datadog/profiling/pprof/payload_spec.rb +++ b/spec/datadog/profiling/pprof/payload_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/pprof/payload' diff --git a/spec/datadog/profiling/pprof/stack_sample_spec.rb b/spec/datadog/profiling/pprof/stack_sample_spec.rb index edc4dfd16d6..2b4b3901ec4 100644 --- a/spec/datadog/profiling/pprof/stack_sample_spec.rb +++ b/spec/datadog/profiling/pprof/stack_sample_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/pprof/string_table_spec.rb b/spec/datadog/profiling/pprof/string_table_spec.rb index 83fa977e95c..34903bb0e91 100644 --- a/spec/datadog/profiling/pprof/string_table_spec.rb +++ b/spec/datadog/profiling/pprof/string_table_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/pprof/string_table' diff --git a/spec/datadog/profiling/pprof/template_spec.rb b/spec/datadog/profiling/pprof/template_spec.rb index d014b190ca6..5b54438da9e 100644 --- a/spec/datadog/profiling/pprof/template_spec.rb +++ b/spec/datadog/profiling/pprof/template_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/preload_spec.rb b/spec/datadog/profiling/preload_spec.rb index 7ac8a7a55e2..9cf13240202 100644 --- a/spec/datadog/profiling/preload_spec.rb +++ b/spec/datadog/profiling/preload_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling' diff --git a/spec/datadog/profiling/profiler_spec.rb b/spec/datadog/profiling/profiler_spec.rb index c511df62032..65541711f61 100644 --- a/spec/datadog/profiling/profiler_spec.rb +++ b/spec/datadog/profiling/profiler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/scheduler_spec.rb b/spec/datadog/profiling/scheduler_spec.rb index 29f8a16c70b..9d0ba1090a0 100644 --- a/spec/datadog/profiling/scheduler_spec.rb +++ b/spec/datadog/profiling/scheduler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/http_transport' diff --git a/spec/datadog/profiling/spec_helper.rb b/spec/datadog/profiling/spec_helper.rb index 3bb6369e1b3..f9ebb266190 100644 --- a/spec/datadog/profiling/spec_helper.rb +++ b/spec/datadog/profiling/spec_helper.rb @@ -1,5 +1,3 @@ -# typed: true - require 'datadog/profiling' module ProfileHelpers diff --git a/spec/datadog/profiling/stack_recorder_spec.rb b/spec/datadog/profiling/stack_recorder_spec.rb index 7bbcb1ecddd..baeafbb50d1 100644 --- a/spec/datadog/profiling/stack_recorder_spec.rb +++ b/spec/datadog/profiling/stack_recorder_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/profiling/spec_helper' require 'datadog/profiling/stack_recorder' diff --git a/spec/datadog/profiling/tag_builder_spec.rb b/spec/datadog/profiling/tag_builder_spec.rb index f17a7c55acf..44dbfd491ff 100644 --- a/spec/datadog/profiling/tag_builder_spec.rb +++ b/spec/datadog/profiling/tag_builder_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/tag_builder' RSpec.describe Datadog::Profiling::TagBuilder do diff --git a/spec/datadog/profiling/tasks/exec_spec.rb b/spec/datadog/profiling/tasks/exec_spec.rb index d63b01a34bd..c59f51212bb 100644 --- a/spec/datadog/profiling/tasks/exec_spec.rb +++ b/spec/datadog/profiling/tasks/exec_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/tasks/exec' diff --git a/spec/datadog/profiling/tasks/help_spec.rb b/spec/datadog/profiling/tasks/help_spec.rb index 969d05ad3f5..d8303a9aa64 100644 --- a/spec/datadog/profiling/tasks/help_spec.rb +++ b/spec/datadog/profiling/tasks/help_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/tasks/help' diff --git a/spec/datadog/profiling/tasks/setup_spec.rb b/spec/datadog/profiling/tasks/setup_spec.rb index 04ac8a8678e..a82f9e4f28c 100644 --- a/spec/datadog/profiling/tasks/setup_spec.rb +++ b/spec/datadog/profiling/tasks/setup_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling/spec_helper' diff --git a/spec/datadog/profiling/trace_identifiers/ddtrace_spec.rb b/spec/datadog/profiling/trace_identifiers/ddtrace_spec.rb index 237f18743f7..d832e1da9b0 100644 --- a/spec/datadog/profiling/trace_identifiers/ddtrace_spec.rb +++ b/spec/datadog/profiling/trace_identifiers/ddtrace_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/trace_identifiers/ddtrace' require 'datadog/tracing/span_operation' require 'datadog/tracing/trace_operation' diff --git a/spec/datadog/profiling/trace_identifiers/helper_spec.rb b/spec/datadog/profiling/trace_identifiers/helper_spec.rb index 80a3a1d0cc4..81100442943 100644 --- a/spec/datadog/profiling/trace_identifiers/helper_spec.rb +++ b/spec/datadog/profiling/trace_identifiers/helper_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/trace_identifiers/helper' require 'datadog/profiling/trace_identifiers/ddtrace' diff --git a/spec/datadog/profiling/validate_benchmarks_spec.rb b/spec/datadog/profiling/validate_benchmarks_spec.rb index 99e2367697a..2703dc6b287 100644 --- a/spec/datadog/profiling/validate_benchmarks_spec.rb +++ b/spec/datadog/profiling/validate_benchmarks_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/profiling/spec_helper' RSpec.describe 'Profiling benchmarks', if: (RUBY_VERSION >= '2.4.0') do diff --git a/spec/datadog/profiling_spec.rb b/spec/datadog/profiling_spec.rb index ceebf8c4b40..62cfb95c16e 100644 --- a/spec/datadog/profiling_spec.rb +++ b/spec/datadog/profiling_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/profiling' diff --git a/spec/datadog/tracing/analytics_spec.rb b/spec/datadog/tracing/analytics_spec.rb index d7a18f8066f..68567644597 100644 --- a/spec/datadog/tracing/analytics_spec.rb +++ b/spec/datadog/tracing/analytics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/analytics' diff --git a/spec/datadog/tracing/benchmark/buffer_benchmark_spec.rb b/spec/datadog/tracing/benchmark/buffer_benchmark_spec.rb index 3f870f7ee75..97c6cfe0b53 100644 --- a/spec/datadog/tracing/benchmark/buffer_benchmark_spec.rb +++ b/spec/datadog/tracing/benchmark/buffer_benchmark_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'support/benchmark_helper' diff --git a/spec/datadog/tracing/benchmark/microbenchmark_spec.rb b/spec/datadog/tracing/benchmark/microbenchmark_spec.rb index 394ad6a6520..50c7bed0cdc 100644 --- a/spec/datadog/tracing/benchmark/microbenchmark_spec.rb +++ b/spec/datadog/tracing/benchmark/microbenchmark_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'support/benchmark_helper' diff --git a/spec/datadog/tracing/benchmark/support/benchmark_helper.rb b/spec/datadog/tracing/benchmark/support/benchmark_helper.rb index 1e0c1ffb2e4..d451b9eb6d1 100644 --- a/spec/datadog/tracing/benchmark/support/benchmark_helper.rb +++ b/spec/datadog/tracing/benchmark/support/benchmark_helper.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/statsd' diff --git a/spec/datadog/tracing/benchmark/transport_benchmark_spec.rb b/spec/datadog/tracing/benchmark/transport_benchmark_spec.rb index 99113e53a80..0a38e105413 100644 --- a/spec/datadog/tracing/benchmark/transport_benchmark_spec.rb +++ b/spec/datadog/tracing/benchmark/transport_benchmark_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'support/benchmark_helper' diff --git a/spec/datadog/tracing/buffer_spec.rb b/spec/datadog/tracing/buffer_spec.rb index bbe8db43fd8..5728c2c0357 100644 --- a/spec/datadog/tracing/buffer_spec.rb +++ b/spec/datadog/tracing/buffer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'benchmark' diff --git a/spec/datadog/tracing/configuration/settings_spec.rb b/spec/datadog/tracing/configuration/settings_spec.rb index ca34eb9e555..2cc88a85fc9 100644 --- a/spec/datadog/tracing/configuration/settings_spec.rb +++ b/spec/datadog/tracing/configuration/settings_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'securerandom' diff --git a/spec/datadog/tracing/context_provider_spec.rb b/spec/datadog/tracing/context_provider_spec.rb index 7e67958edd2..464d73f457d 100644 --- a/spec/datadog/tracing/context_provider_spec.rb +++ b/spec/datadog/tracing/context_provider_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/context_provider' diff --git a/spec/datadog/tracing/context_spec.rb b/spec/datadog/tracing/context_spec.rb index 9e94e43e24c..d7241354d38 100644 --- a/spec/datadog/tracing/context_spec.rb +++ b/spec/datadog/tracing/context_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/context' diff --git a/spec/datadog/tracing/contrib/action_cable/instrumentation_spec.rb b/spec/datadog/tracing/contrib/action_cable/instrumentation_spec.rb index 9b37cd0b808..2f060be89bf 100644 --- a/spec/datadog/tracing/contrib/action_cable/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/action_cable/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'spec/datadog/tracing/contrib/rails/support/deprecation' diff --git a/spec/datadog/tracing/contrib/action_cable/integration_spec.rb b/spec/datadog/tracing/contrib/action_cable/integration_spec.rb index bf81fe6cbee..8caa352f580 100644 --- a/spec/datadog/tracing/contrib/action_cable/integration_spec.rb +++ b/spec/datadog/tracing/contrib/action_cable/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/action_cable/patcher_spec.rb b/spec/datadog/tracing/contrib/action_cable/patcher_spec.rb index 6b2f2e97f8f..2e2b11d3088 100644 --- a/spec/datadog/tracing/contrib/action_cable/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/action_cable/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'logger' require 'datadog/tracing' diff --git a/spec/datadog/tracing/contrib/action_mailer/helpers.rb b/spec/datadog/tracing/contrib/action_mailer/helpers.rb index 721419e47c9..5faf9442c9b 100644 --- a/spec/datadog/tracing/contrib/action_mailer/helpers.rb +++ b/spec/datadog/tracing/contrib/action_mailer/helpers.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails' RSpec.shared_context 'ActionMailer helpers' do diff --git a/spec/datadog/tracing/contrib/action_mailer/integration_spec.rb b/spec/datadog/tracing/contrib/action_mailer/integration_spec.rb index e7acaa78a12..fb948e32329 100644 --- a/spec/datadog/tracing/contrib/action_mailer/integration_spec.rb +++ b/spec/datadog/tracing/contrib/action_mailer/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/action_mailer/integration' diff --git a/spec/datadog/tracing/contrib/action_mailer/patcher_spec.rb b/spec/datadog/tracing/contrib/action_mailer/patcher_spec.rb index 100775de8c0..372530a0f2f 100644 --- a/spec/datadog/tracing/contrib/action_mailer/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/action_mailer/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'rails' diff --git a/spec/datadog/tracing/contrib/action_pack/action_controller/instrumentation_spec.rb b/spec/datadog/tracing/contrib/action_pack/action_controller/instrumentation_spec.rb index 7bf668da102..a7503c9a51e 100644 --- a/spec/datadog/tracing/contrib/action_pack/action_controller/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/action_pack/action_controller/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'action_controller' diff --git a/spec/datadog/tracing/contrib/action_pack/integration_spec.rb b/spec/datadog/tracing/contrib/action_pack/integration_spec.rb index c44aecc1196..b05004bd3dd 100644 --- a/spec/datadog/tracing/contrib/action_pack/integration_spec.rb +++ b/spec/datadog/tracing/contrib/action_pack/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/action_view/integration_spec.rb b/spec/datadog/tracing/contrib/action_view/integration_spec.rb index 1254d95ccc1..d7521ce859d 100644 --- a/spec/datadog/tracing/contrib/action_view/integration_spec.rb +++ b/spec/datadog/tracing/contrib/action_view/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/action_view/utils_spec.rb b/spec/datadog/tracing/contrib/action_view/utils_spec.rb index e77f4ae2611..f94bb02fbec 100644 --- a/spec/datadog/tracing/contrib/action_view/utils_spec.rb +++ b/spec/datadog/tracing/contrib/action_view/utils_spec.rb @@ -1,5 +1,3 @@ -# typed: false - RSpec.describe Datadog::Tracing::Contrib::ActionView::Utils do describe '#normalize_template_name' do subject(:normalize_template_name) { described_class.normalize_template_name(name) } diff --git a/spec/datadog/tracing/contrib/active_job/integration_spec.rb b/spec/datadog/tracing/contrib/active_job/integration_spec.rb index a8b02c34121..d1e7181ab57 100644 --- a/spec/datadog/tracing/contrib/active_job/integration_spec.rb +++ b/spec/datadog/tracing/contrib/active_job/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/active_model_serializers/helpers.rb b/spec/datadog/tracing/contrib/active_model_serializers/helpers.rb index da52a0fe6b9..8a0d88abb43 100644 --- a/spec/datadog/tracing/contrib/active_model_serializers/helpers.rb +++ b/spec/datadog/tracing/contrib/active_model_serializers/helpers.rb @@ -1,5 +1,3 @@ -# typed: ignore - module ActiveModelSerializersHelpers class << self def ams_0_10_or_newer? diff --git a/spec/datadog/tracing/contrib/active_model_serializers/integration_spec.rb b/spec/datadog/tracing/contrib/active_model_serializers/integration_spec.rb index 088a0c3ea9e..aaac547da87 100644 --- a/spec/datadog/tracing/contrib/active_model_serializers/integration_spec.rb +++ b/spec/datadog/tracing/contrib/active_model_serializers/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/active_model_serializers/integration' diff --git a/spec/datadog/tracing/contrib/active_model_serializers/patcher_spec.rb b/spec/datadog/tracing/contrib/active_model_serializers/patcher_spec.rb index b53275b6612..0b09c79b2f4 100644 --- a/spec/datadog/tracing/contrib/active_model_serializers/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/active_model_serializers/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'spec/datadog/tracing/contrib/active_model_serializers/helpers' diff --git a/spec/datadog/tracing/contrib/active_record/app.rb b/spec/datadog/tracing/contrib/active_record/app.rb index 06dfa26aeb6..257d1ea8b83 100644 --- a/spec/datadog/tracing/contrib/active_record/app.rb +++ b/spec/datadog/tracing/contrib/active_record/app.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'active_record' if PlatformHelpers.jruby? diff --git a/spec/datadog/tracing/contrib/active_record/configuration/resolver_spec.rb b/spec/datadog/tracing/contrib/active_record/configuration/resolver_spec.rb index 2aa39269e5a..3c52e840dc4 100644 --- a/spec/datadog/tracing/contrib/active_record/configuration/resolver_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/configuration/resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'active_record' diff --git a/spec/datadog/tracing/contrib/active_record/integration_spec.rb b/spec/datadog/tracing/contrib/active_record/integration_spec.rb index f292cb2d763..3fd49110a0e 100644 --- a/spec/datadog/tracing/contrib/active_record/integration_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/active_record/multi_db_spec.rb b/spec/datadog/tracing/contrib/active_record/multi_db_spec.rb index 58e40278bfe..da44457ef0a 100644 --- a/spec/datadog/tracing/contrib/active_record/multi_db_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/multi_db_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/active_record/performance_spec.rb b/spec/datadog/tracing/contrib/active_record/performance_spec.rb index 6f87d4baf51..a2cacbbd89c 100644 --- a/spec/datadog/tracing/contrib/active_record/performance_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/performance_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/active_record/tracer_spec.rb b/spec/datadog/tracing/contrib/active_record/tracer_spec.rb index 318ddf73a28..771d87a1cce 100644 --- a/spec/datadog/tracing/contrib/active_record/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/active_record/utils_spec.rb b/spec/datadog/tracing/contrib/active_record/utils_spec.rb index 9f4ed0a0850..2f490b97763 100644 --- a/spec/datadog/tracing/contrib/active_record/utils_spec.rb +++ b/spec/datadog/tracing/contrib/active_record/utils_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/active_record/utils' diff --git a/spec/datadog/tracing/contrib/active_support/integration_spec.rb b/spec/datadog/tracing/contrib/active_support/integration_spec.rb index 30b1b32b28e..e5be0da0956 100644 --- a/spec/datadog/tracing/contrib/active_support/integration_spec.rb +++ b/spec/datadog/tracing/contrib/active_support/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/active_support/notifications/event_spec.rb b/spec/datadog/tracing/contrib/active_support/notifications/event_spec.rb index c49d0bf3a96..fb772cfb80d 100644 --- a/spec/datadog/tracing/contrib/active_support/notifications/event_spec.rb +++ b/spec/datadog/tracing/contrib/active_support/notifications/event_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/active_support/notifications/subscriber_spec.rb b/spec/datadog/tracing/contrib/active_support/notifications/subscriber_spec.rb index 699967b3206..18dbb58ad71 100644 --- a/spec/datadog/tracing/contrib/active_support/notifications/subscriber_spec.rb +++ b/spec/datadog/tracing/contrib/active_support/notifications/subscriber_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/active_support/notifications/subscription_spec.rb b/spec/datadog/tracing/contrib/active_support/notifications/subscription_spec.rb index 441f968b3c1..dc502d149fd 100644 --- a/spec/datadog/tracing/contrib/active_support/notifications/subscription_spec.rb +++ b/spec/datadog/tracing/contrib/active_support/notifications/subscription_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/analytics_examples.rb b/spec/datadog/tracing/contrib/analytics_examples.rb index 7e53ce7fa2b..fad68e9dfe7 100644 --- a/spec/datadog/tracing/contrib/analytics_examples.rb +++ b/spec/datadog/tracing/contrib/analytics_examples.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/metadata/ext' RSpec.shared_examples_for 'analytics for integration' do |options = { ignore_global_flag: true }| diff --git a/spec/datadog/tracing/contrib/analytics_spec.rb b/spec/datadog/tracing/contrib/analytics_spec.rb index 78581bb69ab..e408565a371 100644 --- a/spec/datadog/tracing/contrib/analytics_spec.rb +++ b/spec/datadog/tracing/contrib/analytics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/analytics' diff --git a/spec/datadog/tracing/contrib/auto_instrument_examples.rb b/spec/datadog/tracing/contrib/auto_instrument_examples.rb index ab5a2d37851..5dc2950a1cd 100644 --- a/spec/datadog/tracing/contrib/auto_instrument_examples.rb +++ b/spec/datadog/tracing/contrib/auto_instrument_examples.rb @@ -1,5 +1,3 @@ -# typed: false - RSpec.shared_examples 'rails sub-gem auto_instrument?' do context 'auto_instrument?' do subject(:auto_instrument?) { integration.auto_instrument? } diff --git a/spec/datadog/tracing/contrib/aws/instrumentation_spec.rb b/spec/datadog/tracing/contrib/aws/instrumentation_spec.rb index a0993b7623f..3955bccf454 100644 --- a/spec/datadog/tracing/contrib/aws/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/aws/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/aws/integration_spec.rb b/spec/datadog/tracing/contrib/aws/integration_spec.rb index b1cb671ca37..6f93ed4ff56 100644 --- a/spec/datadog/tracing/contrib/aws/integration_spec.rb +++ b/spec/datadog/tracing/contrib/aws/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/aws/integration' diff --git a/spec/datadog/tracing/contrib/aws/parsed_context_spec.rb b/spec/datadog/tracing/contrib/aws/parsed_context_spec.rb index f44bfcc4027..2f2796fd528 100644 --- a/spec/datadog/tracing/contrib/aws/parsed_context_spec.rb +++ b/spec/datadog/tracing/contrib/aws/parsed_context_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'aws-sdk' diff --git a/spec/datadog/tracing/contrib/concurrent_ruby/integration_spec.rb b/spec/datadog/tracing/contrib/concurrent_ruby/integration_spec.rb index 6ab510afd6c..a595e225789 100644 --- a/spec/datadog/tracing/contrib/concurrent_ruby/integration_spec.rb +++ b/spec/datadog/tracing/contrib/concurrent_ruby/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/concurrent_ruby/integration' diff --git a/spec/datadog/tracing/contrib/concurrent_ruby/integration_test_spec.rb b/spec/datadog/tracing/contrib/concurrent_ruby/integration_test_spec.rb index accd8039dcb..85d7d7ce4a2 100644 --- a/spec/datadog/tracing/contrib/concurrent_ruby/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/concurrent_ruby/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'concurrent/future' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/tracing/contrib/configurable_spec.rb b/spec/datadog/tracing/contrib/configurable_spec.rb index f9579076ec7..e212bb4102e 100644 --- a/spec/datadog/tracing/contrib/configurable_spec.rb +++ b/spec/datadog/tracing/contrib/configurable_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/configuration/resolver_spec.rb b/spec/datadog/tracing/contrib/configuration/resolver_spec.rb index 597315f0c18..22c550371f2 100644 --- a/spec/datadog/tracing/contrib/configuration/resolver_spec.rb +++ b/spec/datadog/tracing/contrib/configuration/resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/configuration/resolver' diff --git a/spec/datadog/tracing/contrib/configuration/resolvers/pattern_resolver_spec.rb b/spec/datadog/tracing/contrib/configuration/resolvers/pattern_resolver_spec.rb index 6e8238a81e2..3049d32677a 100644 --- a/spec/datadog/tracing/contrib/configuration/resolvers/pattern_resolver_spec.rb +++ b/spec/datadog/tracing/contrib/configuration/resolvers/pattern_resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/configuration/settings_spec.rb b/spec/datadog/tracing/contrib/configuration/settings_spec.rb index 0b3bf67060f..27a59b314af 100644 --- a/spec/datadog/tracing/contrib/configuration/settings_spec.rb +++ b/spec/datadog/tracing/contrib/configuration/settings_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/dalli/instrumentation_spec.rb b/spec/datadog/tracing/contrib/dalli/instrumentation_spec.rb index 40a6bb0c27b..c8806558644 100644 --- a/spec/datadog/tracing/contrib/dalli/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/dalli/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/dalli/integration_spec.rb b/spec/datadog/tracing/contrib/dalli/integration_spec.rb index 274fd5c404f..6a19d836a1d 100644 --- a/spec/datadog/tracing/contrib/dalli/integration_spec.rb +++ b/spec/datadog/tracing/contrib/dalli/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/dalli/integration' diff --git a/spec/datadog/tracing/contrib/dalli/patcher_spec.rb b/spec/datadog/tracing/contrib/dalli/patcher_spec.rb index fefbad00855..02282b0f22e 100644 --- a/spec/datadog/tracing/contrib/dalli/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/dalli/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'dalli' diff --git a/spec/datadog/tracing/contrib/dalli/quantize_spec.rb b/spec/datadog/tracing/contrib/dalli/quantize_spec.rb index db61038479a..361df9fee62 100644 --- a/spec/datadog/tracing/contrib/dalli/quantize_spec.rb +++ b/spec/datadog/tracing/contrib/dalli/quantize_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'dalli' diff --git a/spec/datadog/tracing/contrib/delayed_job/delayed_job_active_record.rb b/spec/datadog/tracing/contrib/delayed_job/delayed_job_active_record.rb index d39e8dea011..1c5c6505076 100644 --- a/spec/datadog/tracing/contrib/delayed_job/delayed_job_active_record.rb +++ b/spec/datadog/tracing/contrib/delayed_job/delayed_job_active_record.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.configure do |c| c.around(:example, :delayed_job_active_record) do |example| ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') diff --git a/spec/datadog/tracing/contrib/delayed_job/integration_spec.rb b/spec/datadog/tracing/contrib/delayed_job/integration_spec.rb index d63f4215ca7..3976692efc6 100644 --- a/spec/datadog/tracing/contrib/delayed_job/integration_spec.rb +++ b/spec/datadog/tracing/contrib/delayed_job/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/delayed_job/integration' diff --git a/spec/datadog/tracing/contrib/delayed_job/patcher_spec.rb b/spec/datadog/tracing/contrib/delayed_job/patcher_spec.rb index 77a52adf566..03df44c9ef3 100644 --- a/spec/datadog/tracing/contrib/delayed_job/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/delayed_job/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require_relative 'delayed_job_active_record' diff --git a/spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb b/spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb index 4454c10b7c0..79dba5c8acb 100644 --- a/spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb +++ b/spec/datadog/tracing/contrib/delayed_job/plugin_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/elasticsearch/integration_spec.rb b/spec/datadog/tracing/contrib/elasticsearch/integration_spec.rb index 3652b4634c5..ec42f8fe658 100644 --- a/spec/datadog/tracing/contrib/elasticsearch/integration_spec.rb +++ b/spec/datadog/tracing/contrib/elasticsearch/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/elasticsearch/integration' diff --git a/spec/datadog/tracing/contrib/elasticsearch/patcher_spec.rb b/spec/datadog/tracing/contrib/elasticsearch/patcher_spec.rb index 74a747120d9..2fdcd5682d4 100644 --- a/spec/datadog/tracing/contrib/elasticsearch/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/elasticsearch/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb b/spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb index 344f4491087..ac94abb40d6 100644 --- a/spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb +++ b/spec/datadog/tracing/contrib/elasticsearch/quantize_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'elasticsearch' diff --git a/spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb b/spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb index b5d67ac4bf0..1ee31d08037 100644 --- a/spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb +++ b/spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/environment_service_name_examples' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/tracing/contrib/environment_service_name_examples.rb b/spec/datadog/tracing/contrib/environment_service_name_examples.rb index 90c2f3340a8..9a2fce93e59 100644 --- a/spec/datadog/tracing/contrib/environment_service_name_examples.rb +++ b/spec/datadog/tracing/contrib/environment_service_name_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_examples_for 'environment service name' do |env_service_name_key, error: nil| context "when given `#{env_service_name_key}` environment variable" do around do |example| diff --git a/spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb b/spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb index 15202e40b1e..1f6f749b96c 100644 --- a/spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/easy_patch_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/environment_service_name_examples' diff --git a/spec/datadog/tracing/contrib/ethon/integration_context.rb b/spec/datadog/tracing/contrib/ethon/integration_context.rb index 2fec53b4e8f..da641c91834 100644 --- a/spec/datadog/tracing/contrib/ethon/integration_context.rb +++ b/spec/datadog/tracing/contrib/ethon/integration_context.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'webrick' require 'spec/support/thread_helpers' diff --git a/spec/datadog/tracing/contrib/ethon/integration_spec.rb b/spec/datadog/tracing/contrib/ethon/integration_spec.rb index 1018a4b4999..d9d2ef4bc29 100644 --- a/spec/datadog/tracing/contrib/ethon/integration_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/ethon/integration' diff --git a/spec/datadog/tracing/contrib/ethon/integration_test_spec.rb b/spec/datadog/tracing/contrib/ethon/integration_test_spec.rb index de80f803b4f..bd348ac262a 100644 --- a/spec/datadog/tracing/contrib/ethon/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'json' require 'stringio' require 'typhoeus' diff --git a/spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb b/spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb index e7552b8f15d..0a983f09442 100644 --- a/spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/multi_patch_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ethon' diff --git a/spec/datadog/tracing/contrib/ethon/patcher_spec.rb b/spec/datadog/tracing/contrib/ethon/patcher_spec.rb index cbb027f2220..884e4ba2389 100644 --- a/spec/datadog/tracing/contrib/ethon/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'ethon' diff --git a/spec/datadog/tracing/contrib/ethon/shared_examples.rb b/spec/datadog/tracing/contrib/ethon/shared_examples.rb index 549871ec9e1..9a5d2bf2a30 100644 --- a/spec/datadog/tracing/contrib/ethon/shared_examples.rb +++ b/spec/datadog/tracing/contrib/ethon/shared_examples.rb @@ -1,5 +1,3 @@ -# typed: false - require 'json' require 'datadog/tracing/contrib/integration_examples' diff --git a/spec/datadog/tracing/contrib/ethon/support/thread_helpers.rb b/spec/datadog/tracing/contrib/ethon/support/thread_helpers.rb index 4e25c910ea7..3b62d8b2d9c 100644 --- a/spec/datadog/tracing/contrib/ethon/support/thread_helpers.rb +++ b/spec/datadog/tracing/contrib/ethon/support/thread_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec/support/thread_helpers' require 'ethon' diff --git a/spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb b/spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb index df49343b963..e0cdb880edb 100644 --- a/spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb +++ b/spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/ethon/shared_examples' diff --git a/spec/datadog/tracing/contrib/excon/instrumentation_spec.rb b/spec/datadog/tracing/contrib/excon/instrumentation_spec.rb index 752813e1e71..e98e208a0ab 100644 --- a/spec/datadog/tracing/contrib/excon/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/excon/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/excon/integration_spec.rb b/spec/datadog/tracing/contrib/excon/integration_spec.rb index be120d6b359..9dac89b7793 100644 --- a/spec/datadog/tracing/contrib/excon/integration_spec.rb +++ b/spec/datadog/tracing/contrib/excon/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/excon/integration' diff --git a/spec/datadog/tracing/contrib/extensions_spec.rb b/spec/datadog/tracing/contrib/extensions_spec.rb index 904b2796cb3..95a08a8a622 100644 --- a/spec/datadog/tracing/contrib/extensions_spec.rb +++ b/spec/datadog/tracing/contrib/extensions_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib' diff --git a/spec/datadog/tracing/contrib/faraday/integration_spec.rb b/spec/datadog/tracing/contrib/faraday/integration_spec.rb index 8a2e3e39575..17d8b0c131f 100644 --- a/spec/datadog/tracing/contrib/faraday/integration_spec.rb +++ b/spec/datadog/tracing/contrib/faraday/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/faraday/integration' diff --git a/spec/datadog/tracing/contrib/faraday/middleware_spec.rb b/spec/datadog/tracing/contrib/faraday/middleware_spec.rb index 34326382a6d..5d133bdfc9e 100644 --- a/spec/datadog/tracing/contrib/faraday/middleware_spec.rb +++ b/spec/datadog/tracing/contrib/faraday/middleware_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/faraday/patcher_spec.rb b/spec/datadog/tracing/contrib/faraday/patcher_spec.rb index c7e7f5e0d92..a9523970dcf 100644 --- a/spec/datadog/tracing/contrib/faraday/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/faraday/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'faraday' diff --git a/spec/datadog/tracing/contrib/grape/integration_spec.rb b/spec/datadog/tracing/contrib/grape/integration_spec.rb index 3767c695ab5..a78fb40b38c 100644 --- a/spec/datadog/tracing/contrib/grape/integration_spec.rb +++ b/spec/datadog/tracing/contrib/grape/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/grape/integration' diff --git a/spec/datadog/tracing/contrib/grape/tracer_spec.rb b/spec/datadog/tracing/contrib/grape/tracer_spec.rb index a991a297437..27752dbd3f5 100644 --- a/spec/datadog/tracing/contrib/grape/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/grape/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/graphql/integration_spec.rb b/spec/datadog/tracing/contrib/graphql/integration_spec.rb index 373842debf9..9a7e681db23 100644 --- a/spec/datadog/tracing/contrib/graphql/integration_spec.rb +++ b/spec/datadog/tracing/contrib/graphql/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/graphql/integration' diff --git a/spec/datadog/tracing/contrib/graphql/test_types.rb b/spec/datadog/tracing/contrib/graphql/test_types.rb index 9029fcfe467..6a42caa2677 100644 --- a/spec/datadog/tracing/contrib/graphql/test_types.rb +++ b/spec/datadog/tracing/contrib/graphql/test_types.rb @@ -1,5 +1,3 @@ -# typed: ignore - LogHelpers.without_warnings do require 'graphql' end diff --git a/spec/datadog/tracing/contrib/graphql/tracer_spec.rb b/spec/datadog/tracing/contrib/graphql/tracer_spec.rb index ffc04f69d8f..ec427e48229 100644 --- a/spec/datadog/tracing/contrib/graphql/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/graphql/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/graphql/test_types' diff --git a/spec/datadog/tracing/contrib/grpc/datadog_interceptor/client_spec.rb b/spec/datadog/tracing/contrib/grpc/datadog_interceptor/client_spec.rb index 68df3ad3f51..94eff85de05 100644 --- a/spec/datadog/tracing/contrib/grpc/datadog_interceptor/client_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/datadog_interceptor/client_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/grpc/datadog_interceptor/server_spec.rb b/spec/datadog/tracing/contrib/grpc/datadog_interceptor/server_spec.rb index b5817f8cfa8..9a29f0682e7 100644 --- a/spec/datadog/tracing/contrib/grpc/datadog_interceptor/server_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/datadog_interceptor/server_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/grpc/distributed/fetcher_spec.rb b/spec/datadog/tracing/contrib/grpc/distributed/fetcher_spec.rb index 1d87d501e93..cd35320bd87 100644 --- a/spec/datadog/tracing/contrib/grpc/distributed/fetcher_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/distributed/fetcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/grpc/distributed/fetcher' diff --git a/spec/datadog/tracing/contrib/grpc/distributed/propagation_spec.rb b/spec/datadog/tracing/contrib/grpc/distributed/propagation_spec.rb index cef40a92abd..a063078707e 100644 --- a/spec/datadog/tracing/contrib/grpc/distributed/propagation_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/distributed/propagation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/grpc/distributed/propagation' diff --git a/spec/datadog/tracing/contrib/grpc/integration_spec.rb b/spec/datadog/tracing/contrib/grpc/integration_spec.rb index 07a55b05d90..f959cf11c48 100644 --- a/spec/datadog/tracing/contrib/grpc/integration_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/tracing/contrib/grpc/integration_test_spec.rb b/spec/datadog/tracing/contrib/grpc/integration_test_spec.rb index 7b3aadd0e94..aaa5e5f6a25 100644 --- a/spec/datadog/tracing/contrib/grpc/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/integration_examples' require_relative 'support/grpc_helper' diff --git a/spec/datadog/tracing/contrib/grpc/interception_context_spec.rb b/spec/datadog/tracing/contrib/grpc/interception_context_spec.rb index 16ae56ffbed..b386ab6aba5 100644 --- a/spec/datadog/tracing/contrib/grpc/interception_context_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/interception_context_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/grpc/patcher_spec.rb b/spec/datadog/tracing/contrib/grpc/patcher_spec.rb index 5018c184455..b035e1ad623 100644 --- a/spec/datadog/tracing/contrib/grpc/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/grpc/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'grpc' diff --git a/spec/datadog/tracing/contrib/grpc/support/grpc_helper.rb b/spec/datadog/tracing/contrib/grpc/support/grpc_helper.rb index aff06f9b033..edd11aee569 100644 --- a/spec/datadog/tracing/contrib/grpc/support/grpc_helper.rb +++ b/spec/datadog/tracing/contrib/grpc/support/grpc_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'grpc' require 'spec/support/thread_helpers' diff --git a/spec/datadog/tracing/contrib/hanami/integration_test_spec.rb b/spec/datadog/tracing/contrib/hanami/integration_test_spec.rb index 3937ae16140..eace7e3c5d8 100644 --- a/spec/datadog/tracing/contrib/hanami/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/hanami/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require_relative './support/hanami_helpers' require_relative './support/custom_matchers' require 'rack' diff --git a/spec/datadog/tracing/contrib/hanami/support/custom_matchers.rb b/spec/datadog/tracing/contrib/hanami/support/custom_matchers.rb index 768f4c6d0e8..c9248f702eb 100644 --- a/spec/datadog/tracing/contrib/hanami/support/custom_matchers.rb +++ b/spec/datadog/tracing/contrib/hanami/support/custom_matchers.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec::Matchers.define :be_hanami_rack_span do match(notify_expectation_failures: true) do |span| expect(span.name).to eq(Datadog::Tracing::Contrib::Rack::Ext::SPAN_REQUEST) diff --git a/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/index.rb b/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/index.rb index 1b90da0ee1f..49de3c42371 100644 --- a/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/index.rb +++ b/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/index.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Dummy module Controllers module Books diff --git a/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/server_error.rb b/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/server_error.rb index 06de6ac63d1..d5e0da5deec 100644 --- a/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/server_error.rb +++ b/spec/datadog/tracing/contrib/hanami/support/dummy/controllers/books/server_error.rb @@ -1,5 +1,3 @@ -# typed: ignore - module Dummy module Controllers module Books diff --git a/spec/datadog/tracing/contrib/hanami/support/hanami_helpers.rb b/spec/datadog/tracing/contrib/hanami/support/hanami_helpers.rb index caeb391ec5b..a06ffc26457 100644 --- a/spec/datadog/tracing/contrib/hanami/support/hanami_helpers.rb +++ b/spec/datadog/tracing/contrib/hanami/support/hanami_helpers.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'ddtrace' require 'rack' require 'hanami' diff --git a/spec/datadog/tracing/contrib/http/circuit_breaker_spec.rb b/spec/datadog/tracing/contrib/http/circuit_breaker_spec.rb index d61e61cfc21..5fecd83a6b9 100644 --- a/spec/datadog/tracing/contrib/http/circuit_breaker_spec.rb +++ b/spec/datadog/tracing/contrib/http/circuit_breaker_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/http/distributed/fetcher_spec.rb b/spec/datadog/tracing/contrib/http/distributed/fetcher_spec.rb index 07b74c2a028..75dd5ac44e0 100644 --- a/spec/datadog/tracing/contrib/http/distributed/fetcher_spec.rb +++ b/spec/datadog/tracing/contrib/http/distributed/fetcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/http/distributed/fetcher' diff --git a/spec/datadog/tracing/contrib/http/distributed/propagation_spec.rb b/spec/datadog/tracing/contrib/http/distributed/propagation_spec.rb index dbefc777eba..02ebad3af7c 100644 --- a/spec/datadog/tracing/contrib/http/distributed/propagation_spec.rb +++ b/spec/datadog/tracing/contrib/http/distributed/propagation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/http/distributed/propagation' diff --git a/spec/datadog/tracing/contrib/http/integration_spec.rb b/spec/datadog/tracing/contrib/http/integration_spec.rb index 78145ebfbcf..11e1b02cefd 100644 --- a/spec/datadog/tracing/contrib/http/integration_spec.rb +++ b/spec/datadog/tracing/contrib/http/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/http/integration' diff --git a/spec/datadog/tracing/contrib/http/miniapp_spec.rb b/spec/datadog/tracing/contrib/http/miniapp_spec.rb index 63701b3cdec..0179a0edd97 100644 --- a/spec/datadog/tracing/contrib/http/miniapp_spec.rb +++ b/spec/datadog/tracing/contrib/http/miniapp_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/http/patcher_spec.rb b/spec/datadog/tracing/contrib/http/patcher_spec.rb index 40a0c88ff25..453083adbe8 100644 --- a/spec/datadog/tracing/contrib/http/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/http/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/http/request_spec.rb b/spec/datadog/tracing/contrib/http/request_spec.rb index aedd6a570fa..dc79757c4cc 100644 --- a/spec/datadog/tracing/contrib/http/request_spec.rb +++ b/spec/datadog/tracing/contrib/http/request_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/http_examples.rb b/spec/datadog/tracing/contrib/http_examples.rb index 7fb5662a010..ea469d0354b 100644 --- a/spec/datadog/tracing/contrib/http_examples.rb +++ b/spec/datadog/tracing/contrib/http_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_examples 'with error status code configuration' do before { subject } diff --git a/spec/datadog/tracing/contrib/httpclient/instrumentation_spec.rb b/spec/datadog/tracing/contrib/httpclient/instrumentation_spec.rb index ab5459087b5..d67a1cd3d7e 100644 --- a/spec/datadog/tracing/contrib/httpclient/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/httpclient/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'httpclient' require 'webrick' require 'json' diff --git a/spec/datadog/tracing/contrib/httpclient/integration_spec.rb b/spec/datadog/tracing/contrib/httpclient/integration_spec.rb index d019b7aaf2b..19961b87986 100644 --- a/spec/datadog/tracing/contrib/httpclient/integration_spec.rb +++ b/spec/datadog/tracing/contrib/httpclient/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/contrib/httpclient/integration' diff --git a/spec/datadog/tracing/contrib/httprb/instrumentation_spec.rb b/spec/datadog/tracing/contrib/httprb/instrumentation_spec.rb index cda3a9bfa2e..8b1a29db769 100644 --- a/spec/datadog/tracing/contrib/httprb/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/httprb/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'http' require 'json' require 'stringio' diff --git a/spec/datadog/tracing/contrib/httprb/integration_spec.rb b/spec/datadog/tracing/contrib/httprb/integration_spec.rb index e7450d53bab..17b2cf9e8fa 100644 --- a/spec/datadog/tracing/contrib/httprb/integration_spec.rb +++ b/spec/datadog/tracing/contrib/httprb/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/contrib/httprb/integration' diff --git a/spec/datadog/tracing/contrib/integration_examples.rb b/spec/datadog/tracing/contrib/integration_examples.rb index e3f2cd55d41..93764366c10 100644 --- a/spec/datadog/tracing/contrib/integration_examples.rb +++ b/spec/datadog/tracing/contrib/integration_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_examples 'a peer service span' do before { subject } diff --git a/spec/datadog/tracing/contrib/integration_spec.rb b/spec/datadog/tracing/contrib/integration_spec.rb index 81e7f2e5da3..dd5a00bf5a8 100644 --- a/spec/datadog/tracing/contrib/integration_spec.rb +++ b/spec/datadog/tracing/contrib/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/kafka/integration_spec.rb b/spec/datadog/tracing/contrib/kafka/integration_spec.rb index bb93fc285d7..a6de65799b2 100644 --- a/spec/datadog/tracing/contrib/kafka/integration_spec.rb +++ b/spec/datadog/tracing/contrib/kafka/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/kafka/integration' diff --git a/spec/datadog/tracing/contrib/kafka/patcher_spec.rb b/spec/datadog/tracing/contrib/kafka/patcher_spec.rb index 5762831b25f..c7b75656ef7 100644 --- a/spec/datadog/tracing/contrib/kafka/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/kafka/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/lograge/integration_spec.rb b/spec/datadog/tracing/contrib/lograge/integration_spec.rb index 1a211fb422f..0e94e4e1d17 100644 --- a/spec/datadog/tracing/contrib/lograge/integration_spec.rb +++ b/spec/datadog/tracing/contrib/lograge/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/lograge/integration' diff --git a/spec/datadog/tracing/contrib/lograge/patcher_spec.rb b/spec/datadog/tracing/contrib/lograge/patcher_spec.rb index 0c7c01013ec..71d02f554d5 100644 --- a/spec/datadog/tracing/contrib/lograge/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/lograge/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'lograge' diff --git a/spec/datadog/tracing/contrib/mongodb/client_spec.rb b/spec/datadog/tracing/contrib/mongodb/client_spec.rb index aabaa23dfe1..8c2a03725b8 100644 --- a/spec/datadog/tracing/contrib/mongodb/client_spec.rb +++ b/spec/datadog/tracing/contrib/mongodb/client_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/mongodb/integration_spec.rb b/spec/datadog/tracing/contrib/mongodb/integration_spec.rb index 78d8a4ed443..47cb5a4dc93 100644 --- a/spec/datadog/tracing/contrib/mongodb/integration_spec.rb +++ b/spec/datadog/tracing/contrib/mongodb/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/mongodb/integration' diff --git a/spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb b/spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb index c80557f4a2b..5469a07c832 100644 --- a/spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb +++ b/spec/datadog/tracing/contrib/mongodb/regression_issue_1235_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'ddtrace' require 'mongo' diff --git a/spec/datadog/tracing/contrib/mysql2/integration_spec.rb b/spec/datadog/tracing/contrib/mysql2/integration_spec.rb index b326e0924bb..ee4832a40ef 100644 --- a/spec/datadog/tracing/contrib/mysql2/integration_spec.rb +++ b/spec/datadog/tracing/contrib/mysql2/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/mysql2/integration' diff --git a/spec/datadog/tracing/contrib/mysql2/patcher_spec.rb b/spec/datadog/tracing/contrib/mysql2/patcher_spec.rb index 91657ac1c3e..9128dbf2045 100644 --- a/spec/datadog/tracing/contrib/mysql2/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/mysql2/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/patchable_spec.rb b/spec/datadog/tracing/contrib/patchable_spec.rb index 1a99f10310a..2a728bc083a 100644 --- a/spec/datadog/tracing/contrib/patchable_spec.rb +++ b/spec/datadog/tracing/contrib/patchable_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/patcher_spec.rb b/spec/datadog/tracing/contrib/patcher_spec.rb index 3898d4b21c6..f51443fb38a 100644 --- a/spec/datadog/tracing/contrib/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/patcher' diff --git a/spec/datadog/tracing/contrib/pg/integration_spec.rb b/spec/datadog/tracing/contrib/pg/integration_spec.rb index fbd74d0d7f8..a133137381c 100644 --- a/spec/datadog/tracing/contrib/pg/integration_spec.rb +++ b/spec/datadog/tracing/contrib/pg/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/pg/integration' diff --git a/spec/datadog/tracing/contrib/pg/patcher_spec.rb b/spec/datadog/tracing/contrib/pg/patcher_spec.rb index 6122616318d..8e156ce5b98 100644 --- a/spec/datadog/tracing/contrib/pg/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/pg/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/presto/client_spec.rb b/spec/datadog/tracing/contrib/presto/client_spec.rb index 9f79c07e986..483f213212d 100644 --- a/spec/datadog/tracing/contrib/presto/client_spec.rb +++ b/spec/datadog/tracing/contrib/presto/client_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/presto/integration_spec.rb b/spec/datadog/tracing/contrib/presto/integration_spec.rb index 09d17ffcc76..6c64f3b98fe 100644 --- a/spec/datadog/tracing/contrib/presto/integration_spec.rb +++ b/spec/datadog/tracing/contrib/presto/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/presto/integration' diff --git a/spec/datadog/tracing/contrib/propagation/sql_comment/comment_spec.rb b/spec/datadog/tracing/contrib/propagation/sql_comment/comment_spec.rb index 26a7976ad20..04af94f7705 100644 --- a/spec/datadog/tracing/contrib/propagation/sql_comment/comment_spec.rb +++ b/spec/datadog/tracing/contrib/propagation/sql_comment/comment_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/propagation/sql_comment/comment' RSpec.describe Datadog::Tracing::Contrib::Propagation::SqlComment::Comment do diff --git a/spec/datadog/tracing/contrib/propagation/sql_comment/mode_spec.rb b/spec/datadog/tracing/contrib/propagation/sql_comment/mode_spec.rb index b89c87cbf29..8a9f543e2bc 100644 --- a/spec/datadog/tracing/contrib/propagation/sql_comment/mode_spec.rb +++ b/spec/datadog/tracing/contrib/propagation/sql_comment/mode_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/propagation/sql_comment/mode' RSpec.describe Datadog::Tracing::Contrib::Propagation::SqlComment::Mode do diff --git a/spec/datadog/tracing/contrib/propagation/sql_comment_spec.rb b/spec/datadog/tracing/contrib/propagation/sql_comment_spec.rb index 4d8390c7535..cb2a58a3305 100644 --- a/spec/datadog/tracing/contrib/propagation/sql_comment_spec.rb +++ b/spec/datadog/tracing/contrib/propagation/sql_comment_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/propagation/sql_comment' require 'datadog/tracing/contrib/propagation/sql_comment/mode' diff --git a/spec/datadog/tracing/contrib/qless/instrumentation_spec.rb b/spec/datadog/tracing/contrib/qless/instrumentation_spec.rb index 8e419847cd7..bbe7f0504a5 100644 --- a/spec/datadog/tracing/contrib/qless/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/qless/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/qless/integration' diff --git a/spec/datadog/tracing/contrib/qless/integration_spec.rb b/spec/datadog/tracing/contrib/qless/integration_spec.rb index 65f8acc1ca7..ed616010e67 100644 --- a/spec/datadog/tracing/contrib/qless/integration_spec.rb +++ b/spec/datadog/tracing/contrib/qless/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/contrib/qless/integration' diff --git a/spec/datadog/tracing/contrib/qless/support/job.rb b/spec/datadog/tracing/contrib/qless/support/job.rb index 00f8076779a..72339358636 100644 --- a/spec/datadog/tracing/contrib/qless/support/job.rb +++ b/spec/datadog/tracing/contrib/qless/support/job.rb @@ -1,5 +1,3 @@ -# typed: ignore - LogHelpers.without_warnings do require 'qless' end diff --git a/spec/datadog/tracing/contrib/que/integration_spec.rb b/spec/datadog/tracing/contrib/que/integration_spec.rb index 8914612cfef..b61a3e02c6a 100644 --- a/spec/datadog/tracing/contrib/que/integration_spec.rb +++ b/spec/datadog/tracing/contrib/que/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/que/integration' diff --git a/spec/datadog/tracing/contrib/que/patcher_spec.rb b/spec/datadog/tracing/contrib/que/patcher_spec.rb index 1ad12507d32..e79bd5ea48f 100644 --- a/spec/datadog/tracing/contrib/que/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/que/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'que' diff --git a/spec/datadog/tracing/contrib/que/tracer_spec.rb b/spec/datadog/tracing/contrib/que/tracer_spec.rb index 56e6303c5a8..cd21e7692a5 100644 --- a/spec/datadog/tracing/contrib/que/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/que/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/racecar/integration_spec.rb b/spec/datadog/tracing/contrib/racecar/integration_spec.rb index d22ce234b03..4a00f669821 100644 --- a/spec/datadog/tracing/contrib/racecar/integration_spec.rb +++ b/spec/datadog/tracing/contrib/racecar/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/racecar/integration' diff --git a/spec/datadog/tracing/contrib/racecar/patcher_spec.rb b/spec/datadog/tracing/contrib/racecar/patcher_spec.rb index fdb154f135a..06bf38e7657 100644 --- a/spec/datadog/tracing/contrib/racecar/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/racecar/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/rack/configuration_spec.rb b/spec/datadog/tracing/contrib/rack/configuration_spec.rb index 05ca5ca6b0e..21a70b62696 100644 --- a/spec/datadog/tracing/contrib/rack/configuration_spec.rb +++ b/spec/datadog/tracing/contrib/rack/configuration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'rack/test' diff --git a/spec/datadog/tracing/contrib/rack/distributed_spec.rb b/spec/datadog/tracing/contrib/rack/distributed_spec.rb index 255b0d14764..2df251f53a5 100644 --- a/spec/datadog/tracing/contrib/rack/distributed_spec.rb +++ b/spec/datadog/tracing/contrib/rack/distributed_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/datadog/tracing/contrib/rack/integration_spec.rb b/spec/datadog/tracing/contrib/rack/integration_spec.rb index 2ffc20fb22c..3966eb38c94 100644 --- a/spec/datadog/tracing/contrib/rack/integration_spec.rb +++ b/spec/datadog/tracing/contrib/rack/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/auto_instrument_examples' diff --git a/spec/datadog/tracing/contrib/rack/integration_test_spec.rb b/spec/datadog/tracing/contrib/rack/integration_test_spec.rb index 06c82f53a5e..e53a278b160 100644 --- a/spec/datadog/tracing/contrib/rack/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/rack/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' require 'securerandom' diff --git a/spec/datadog/tracing/contrib/rack/middlewares_spec.rb b/spec/datadog/tracing/contrib/rack/middlewares_spec.rb index ea5b4276150..7d6aef3c0d8 100644 --- a/spec/datadog/tracing/contrib/rack/middlewares_spec.rb +++ b/spec/datadog/tracing/contrib/rack/middlewares_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack' diff --git a/spec/datadog/tracing/contrib/rack/queue_time_spec.rb b/spec/datadog/tracing/contrib/rack/queue_time_spec.rb index 979b6dbb1c1..fce9933cd23 100644 --- a/spec/datadog/tracing/contrib/rack/queue_time_spec.rb +++ b/spec/datadog/tracing/contrib/rack/queue_time_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'rack' diff --git a/spec/datadog/tracing/contrib/rack/resource_name_spec.rb b/spec/datadog/tracing/contrib/rack/resource_name_spec.rb index 4eeb616cc51..ff9a67905d5 100644 --- a/spec/datadog/tracing/contrib/rack/resource_name_spec.rb +++ b/spec/datadog/tracing/contrib/rack/resource_name_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/datadog/tracing/contrib/rails/action_controller_spec.rb b/spec/datadog/tracing/contrib/rails/action_controller_spec.rb index 94dc23aea46..a8b9f113638 100644 --- a/spec/datadog/tracing/contrib/rails/action_controller_spec.rb +++ b/spec/datadog/tracing/contrib/rails/action_controller_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails ActionController' do diff --git a/spec/datadog/tracing/contrib/rails/analytics_spec.rb b/spec/datadog/tracing/contrib/rails/analytics_spec.rb index 7a5b9697780..e68344563ce 100644 --- a/spec/datadog/tracing/contrib/rails/analytics_spec.rb +++ b/spec/datadog/tracing/contrib/rails/analytics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/analytics_examples' require 'datadog/tracing/contrib/rails/rails_helper' diff --git a/spec/datadog/tracing/contrib/rails/cache_spec.rb b/spec/datadog/tracing/contrib/rails/cache_spec.rb index 2d5fa9e7df4..17f83b5e098 100644 --- a/spec/datadog/tracing/contrib/rails/cache_spec.rb +++ b/spec/datadog/tracing/contrib/rails/cache_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/rails/database_spec.rb b/spec/datadog/tracing/contrib/rails/database_spec.rb index 4b414c95e1c..1df05c8ea5d 100644 --- a/spec/datadog/tracing/contrib/rails/database_spec.rb +++ b/spec/datadog/tracing/contrib/rails/database_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/rails/rails_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/rails/defaults_spec.rb b/spec/datadog/tracing/contrib/rails/defaults_spec.rb index facec225523..cdeb8ae3ac8 100644 --- a/spec/datadog/tracing/contrib/rails/defaults_spec.rb +++ b/spec/datadog/tracing/contrib/rails/defaults_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails defaults' do diff --git a/spec/datadog/tracing/contrib/rails/disable_env_spec.rb b/spec/datadog/tracing/contrib/rails/disable_env_spec.rb index f282b9a3b53..7d234abb8d6 100644 --- a/spec/datadog/tracing/contrib/rails/disable_env_spec.rb +++ b/spec/datadog/tracing/contrib/rails/disable_env_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - # This scenario requires Rails to *not* have been patched yet. # This file cannot be run after any tests that patch Rails, but # it can be the first Rails test in a process. diff --git a/spec/datadog/tracing/contrib/rails/integration_spec.rb b/spec/datadog/tracing/contrib/rails/integration_spec.rb index 34fa35be4d7..ac23414f144 100644 --- a/spec/datadog/tracing/contrib/rails/integration_spec.rb +++ b/spec/datadog/tracing/contrib/rails/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/rails/integration' diff --git a/spec/datadog/tracing/contrib/rails/middleware_spec.rb b/spec/datadog/tracing/contrib/rails/middleware_spec.rb index 9f5bacdb5d0..7d509838a9a 100644 --- a/spec/datadog/tracing/contrib/rails/middleware_spec.rb +++ b/spec/datadog/tracing/contrib/rails/middleware_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails middleware' do diff --git a/spec/datadog/tracing/contrib/rails/rack_spec.rb b/spec/datadog/tracing/contrib/rails/rack_spec.rb index 46a99cb460a..98b59cc8b96 100644 --- a/spec/datadog/tracing/contrib/rails/rack_spec.rb +++ b/spec/datadog/tracing/contrib/rails/rack_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails Rack' do diff --git a/spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb b/spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb index 37c231aee44..abb18fc9cc3 100644 --- a/spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb +++ b/spec/datadog/tracing/contrib/rails/rails_active_job_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - # This module tests the right integration between Sidekiq and # Rails. Functionality tests for Rails and Sidekiq must go # in their testing modules. diff --git a/spec/datadog/tracing/contrib/rails/rails_auto_instrument_spec.rb b/spec/datadog/tracing/contrib/rails/rails_auto_instrument_spec.rb index daf740887e2..d41015531fd 100644 --- a/spec/datadog/tracing/contrib/rails/rails_auto_instrument_spec.rb +++ b/spec/datadog/tracing/contrib/rails/rails_auto_instrument_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Datadog::Tracing::Contrib::AutoInstrument' do diff --git a/spec/datadog/tracing/contrib/rails/rails_helper.rb b/spec/datadog/tracing/contrib/rails/rails_helper.rb index 03c057f2f1f..fc91449d724 100644 --- a/spec/datadog/tracing/contrib/rails/rails_helper.rb +++ b/spec/datadog/tracing/contrib/rails/rails_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'logger' diff --git a/spec/datadog/tracing/contrib/rails/rails_log_auto_injection_spec.rb b/spec/datadog/tracing/contrib/rails/rails_log_auto_injection_spec.rb index e6923791a87..0efeaec1297 100644 --- a/spec/datadog/tracing/contrib/rails/rails_log_auto_injection_spec.rb +++ b/spec/datadog/tracing/contrib/rails/rails_log_auto_injection_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails Log Auto Injection' do diff --git a/spec/datadog/tracing/contrib/rails/rails_semantic_logger_auto_injection_spec.rb b/spec/datadog/tracing/contrib/rails/rails_semantic_logger_auto_injection_spec.rb index f788de08bfd..79d10d6c1e1 100644 --- a/spec/datadog/tracing/contrib/rails/rails_semantic_logger_auto_injection_spec.rb +++ b/spec/datadog/tracing/contrib/rails/rails_semantic_logger_auto_injection_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails Log Auto Injection' do diff --git a/spec/datadog/tracing/contrib/rails/railtie_spec.rb b/spec/datadog/tracing/contrib/rails/railtie_spec.rb index 2fed49f0fee..20c654a954c 100644 --- a/spec/datadog/tracing/contrib/rails/railtie_spec.rb +++ b/spec/datadog/tracing/contrib/rails/railtie_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/rails/rails_helper' require 'datadog/tracing/contrib/rails/framework' require 'datadog/tracing/contrib/rails/middlewares' diff --git a/spec/datadog/tracing/contrib/rails/redis_cache_spec.rb b/spec/datadog/tracing/contrib/rails/redis_cache_spec.rb index fcc9f6a14ee..e0187373f86 100644 --- a/spec/datadog/tracing/contrib/rails/redis_cache_spec.rb +++ b/spec/datadog/tracing/contrib/rails/redis_cache_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/rails/rails_helper' diff --git a/spec/datadog/tracing/contrib/rails/support/application.rb b/spec/datadog/tracing/contrib/rails/support/application.rb index bf55869a62e..c6e52e9c15b 100644 --- a/spec/datadog/tracing/contrib/rails/support/application.rb +++ b/spec/datadog/tracing/contrib/rails/support/application.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/rails/support/base' require 'spec/datadog/tracing/contrib/rails/support/deprecation' diff --git a/spec/datadog/tracing/contrib/rails/support/base.rb b/spec/datadog/tracing/contrib/rails/support/base.rb index 003d167fb7b..7089d5cf74e 100644 --- a/spec/datadog/tracing/contrib/rails/support/base.rb +++ b/spec/datadog/tracing/contrib/rails/support/base.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails/all' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/rails/support/configuration.rb b/spec/datadog/tracing/contrib/rails/support/configuration.rb index ec894500923..70e16b70e29 100644 --- a/spec/datadog/tracing/contrib/rails/support/configuration.rb +++ b/spec/datadog/tracing/contrib/rails/support/configuration.rb @@ -1,5 +1,3 @@ -# typed: true - module Datadog module Tracing module Contrib diff --git a/spec/datadog/tracing/contrib/rails/support/controllers.rb b/spec/datadog/tracing/contrib/rails/support/controllers.rb index 665cecea8bc..939d0a52f3b 100644 --- a/spec/datadog/tracing/contrib/rails/support/controllers.rb +++ b/spec/datadog/tracing/contrib/rails/support/controllers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'action_view/testing/resolvers' RSpec.shared_context 'Rails controllers' do diff --git a/spec/datadog/tracing/contrib/rails/support/core_extensions.rb b/spec/datadog/tracing/contrib/rails/support/core_extensions.rb index 1be6bf1a34b..43800ceb784 100644 --- a/spec/datadog/tracing/contrib/rails/support/core_extensions.rb +++ b/spec/datadog/tracing/contrib/rails/support/core_extensions.rb @@ -1,5 +1,3 @@ -# typed: false - if ::Rails::VERSION::MAJOR.to_i == 3 # Rails 3.x unsubscribes all render_template handlers during the test teardown # because it uses some subscribers to load @layouts @templates and @partials. diff --git a/spec/datadog/tracing/contrib/rails/support/database.rb b/spec/datadog/tracing/contrib/rails/support/database.rb index aabe83c3f3f..32565663130 100644 --- a/spec/datadog/tracing/contrib/rails/support/database.rb +++ b/spec/datadog/tracing/contrib/rails/support/database.rb @@ -1,5 +1,3 @@ -# typed: ignore - # load the right adapter according to installed gem module Datadog module Tracing diff --git a/spec/datadog/tracing/contrib/rails/support/deprecation.rb b/spec/datadog/tracing/contrib/rails/support/deprecation.rb index b93509a9cd8..095cd45bfcc 100644 --- a/spec/datadog/tracing/contrib/rails/support/deprecation.rb +++ b/spec/datadog/tracing/contrib/rails/support/deprecation.rb @@ -1,5 +1,3 @@ -# typed: ignore - # Raises error when a deprecation would be emitted def raise_on_rails_deprecation! # DEV: In Rails 6.1 `ActiveSupport::Deprecation.disallowed_warnings` diff --git a/spec/datadog/tracing/contrib/rails/support/middleware.rb b/spec/datadog/tracing/contrib/rails/support/middleware.rb index 4d3b032e022..35a255dbe1c 100644 --- a/spec/datadog/tracing/contrib/rails/support/middleware.rb +++ b/spec/datadog/tracing/contrib/rails/support/middleware.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_context 'Rails middleware' do let(:rails_middleware) { [] } diff --git a/spec/datadog/tracing/contrib/rails/support/models.rb b/spec/datadog/tracing/contrib/rails/support/models.rb index a4132a643a6..f55ade1ec75 100644 --- a/spec/datadog/tracing/contrib/rails/support/models.rb +++ b/spec/datadog/tracing/contrib/rails/support/models.rb @@ -1,5 +1,3 @@ -# typed: false - RSpec.shared_context 'Rails models' do let(:application_record) do stub_const( diff --git a/spec/datadog/tracing/contrib/rails/support/rails3.rb b/spec/datadog/tracing/contrib/rails/support/rails3.rb index 0c4bc32eea8..ba32a61e4b2 100644 --- a/spec/datadog/tracing/contrib/rails/support/rails3.rb +++ b/spec/datadog/tracing/contrib/rails/support/rails3.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails/all' require 'ddtrace' if ENV['TEST_AUTO_INSTRUMENT'] == true diff --git a/spec/datadog/tracing/contrib/rails/support/rails4.rb b/spec/datadog/tracing/contrib/rails/support/rails4.rb index 8a3879fd501..ac58debd93e 100644 --- a/spec/datadog/tracing/contrib/rails/support/rails4.rb +++ b/spec/datadog/tracing/contrib/rails/support/rails4.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails/all' require 'ddtrace' if ENV['TEST_AUTO_INSTRUMENT'] == true diff --git a/spec/datadog/tracing/contrib/rails/support/rails5.rb b/spec/datadog/tracing/contrib/rails/support/rails5.rb index 79135731451..94e273da286 100644 --- a/spec/datadog/tracing/contrib/rails/support/rails5.rb +++ b/spec/datadog/tracing/contrib/rails/support/rails5.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails/all' require 'ddtrace' if ENV['TEST_AUTO_INSTRUMENT'] == true diff --git a/spec/datadog/tracing/contrib/rails/support/rails6.rb b/spec/datadog/tracing/contrib/rails/support/rails6.rb index c7e98fb6bf3..b4e1b3b9cd9 100644 --- a/spec/datadog/tracing/contrib/rails/support/rails6.rb +++ b/spec/datadog/tracing/contrib/rails/support/rails6.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rails/all' require 'ddtrace' if ENV['TEST_AUTO_INSTRUMENT'] == true diff --git a/spec/datadog/tracing/contrib/rails/tracer_spec.rb b/spec/datadog/tracing/contrib/rails/tracer_spec.rb index e892a83a087..8f98b9a464f 100644 --- a/spec/datadog/tracing/contrib/rails/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/rails/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/rails/rails_helper' RSpec.describe 'Rails tracer' do diff --git a/spec/datadog/tracing/contrib/rake/instrumentation_spec.rb b/spec/datadog/tracing/contrib/rake/instrumentation_spec.rb index 23db786657a..257683aa7b3 100644 --- a/spec/datadog/tracing/contrib/rake/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/rake/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/rake/integration_spec.rb b/spec/datadog/tracing/contrib/rake/integration_spec.rb index 2f7597715e6..9480176bf9a 100644 --- a/spec/datadog/tracing/contrib/rake/integration_spec.rb +++ b/spec/datadog/tracing/contrib/rake/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/rake/integration' diff --git a/spec/datadog/tracing/contrib/redis/configuration/resolver_spec.rb b/spec/datadog/tracing/contrib/redis/configuration/resolver_spec.rb index fd3472c14d7..08ac17dd38a 100644 --- a/spec/datadog/tracing/contrib/redis/configuration/resolver_spec.rb +++ b/spec/datadog/tracing/contrib/redis/configuration/resolver_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'redis' diff --git a/spec/datadog/tracing/contrib/redis/instrumentation_spec.rb b/spec/datadog/tracing/contrib/redis/instrumentation_spec.rb index 748bae9d454..7276b6c8e81 100644 --- a/spec/datadog/tracing/contrib/redis/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/redis/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'redis' diff --git a/spec/datadog/tracing/contrib/redis/integration_spec.rb b/spec/datadog/tracing/contrib/redis/integration_spec.rb index d828abea0fb..5445e94c2c9 100644 --- a/spec/datadog/tracing/contrib/redis/integration_spec.rb +++ b/spec/datadog/tracing/contrib/redis/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/redis/integration' diff --git a/spec/datadog/tracing/contrib/redis/integration_test_spec.rb b/spec/datadog/tracing/contrib/redis/integration_test_spec.rb index a2c8b7cc088..08f77c06e0d 100644 --- a/spec/datadog/tracing/contrib/redis/integration_test_spec.rb +++ b/spec/datadog/tracing/contrib/redis/integration_test_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'time' diff --git a/spec/datadog/tracing/contrib/redis/miniapp_spec.rb b/spec/datadog/tracing/contrib/redis/miniapp_spec.rb index 674d3a496b1..b050290120a 100644 --- a/spec/datadog/tracing/contrib/redis/miniapp_spec.rb +++ b/spec/datadog/tracing/contrib/redis/miniapp_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/tracing/contrib/redis/patcher_spec.rb b/spec/datadog/tracing/contrib/redis/patcher_spec.rb index 4f94eac2d56..1028fdee829 100644 --- a/spec/datadog/tracing/contrib/redis/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/redis/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/redis/patcher' diff --git a/spec/datadog/tracing/contrib/redis/quantize_spec.rb b/spec/datadog/tracing/contrib/redis/quantize_spec.rb index c69af023443..0f4b0be2219 100644 --- a/spec/datadog/tracing/contrib/redis/quantize_spec.rb +++ b/spec/datadog/tracing/contrib/redis/quantize_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/redis/quantize' diff --git a/spec/datadog/tracing/contrib/redis/redis_spec.rb b/spec/datadog/tracing/contrib/redis/redis_spec.rb index 8065fa5babe..4034e70123a 100644 --- a/spec/datadog/tracing/contrib/redis/redis_spec.rb +++ b/spec/datadog/tracing/contrib/redis/redis_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'redis' diff --git a/spec/datadog/tracing/contrib/redis/shared_examples.rb b/spec/datadog/tracing/contrib/redis/shared_examples.rb index 7178e2d815d..3a4ec63161b 100644 --- a/spec/datadog/tracing/contrib/redis/shared_examples.rb +++ b/spec/datadog/tracing/contrib/redis/shared_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/registerable_spec.rb b/spec/datadog/tracing/contrib/registerable_spec.rb index c3dc7f60021..1e83e2276ea 100644 --- a/spec/datadog/tracing/contrib/registerable_spec.rb +++ b/spec/datadog/tracing/contrib/registerable_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/registry_spec.rb b/spec/datadog/tracing/contrib/registry_spec.rb index 4b0000b7715..d8839a636e6 100644 --- a/spec/datadog/tracing/contrib/registry_spec.rb +++ b/spec/datadog/tracing/contrib/registry_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' diff --git a/spec/datadog/tracing/contrib/resque/instrumentation_spec.rb b/spec/datadog/tracing/contrib/resque/instrumentation_spec.rb index bc30a80f2fb..5c50ad611a6 100644 --- a/spec/datadog/tracing/contrib/resque/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/resque/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - LogHelpers.without_warnings do require 'resque' end diff --git a/spec/datadog/tracing/contrib/resque/integration_spec.rb b/spec/datadog/tracing/contrib/resque/integration_spec.rb index e727b386109..3ab20128897 100644 --- a/spec/datadog/tracing/contrib/resque/integration_spec.rb +++ b/spec/datadog/tracing/contrib/resque/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/resque/integration' diff --git a/spec/datadog/tracing/contrib/rest_client/integration_spec.rb b/spec/datadog/tracing/contrib/rest_client/integration_spec.rb index 44224835645..594e6c051c2 100644 --- a/spec/datadog/tracing/contrib/rest_client/integration_spec.rb +++ b/spec/datadog/tracing/contrib/rest_client/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/rest_client/integration' diff --git a/spec/datadog/tracing/contrib/rest_client/patcher_spec.rb b/spec/datadog/tracing/contrib/rest_client/patcher_spec.rb index 179ad422ea0..a4be79f67e4 100644 --- a/spec/datadog/tracing/contrib/rest_client/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/rest_client/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'restclient/request' diff --git a/spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb b/spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb index 2399c1b2a82..80fd19dc10d 100644 --- a/spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb +++ b/spec/datadog/tracing/contrib/rest_client/request_patch_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'rest_client' require 'restclient/request' diff --git a/spec/datadog/tracing/contrib/semantic_logger/instrumentation_spec.rb b/spec/datadog/tracing/contrib/semantic_logger/instrumentation_spec.rb index 5fc9cc8d733..c6628cd5b9d 100644 --- a/spec/datadog/tracing/contrib/semantic_logger/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/semantic_logger/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'semantic_logger' require 'datadog/tracing/contrib/semantic_logger/instrumentation' diff --git a/spec/datadog/tracing/contrib/semantic_logger/integration_spec.rb b/spec/datadog/tracing/contrib/semantic_logger/integration_spec.rb index fee4a799852..20c011e4b08 100644 --- a/spec/datadog/tracing/contrib/semantic_logger/integration_spec.rb +++ b/spec/datadog/tracing/contrib/semantic_logger/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/semantic_logger/integration' diff --git a/spec/datadog/tracing/contrib/semantic_logger/patcher_spec.rb b/spec/datadog/tracing/contrib/semantic_logger/patcher_spec.rb index d9a79033093..6054b50aa6a 100644 --- a/spec/datadog/tracing/contrib/semantic_logger/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/semantic_logger/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'semantic_logger' diff --git a/spec/datadog/tracing/contrib/sequel/configuration_spec.rb b/spec/datadog/tracing/contrib/sequel/configuration_spec.rb index 98da9b1c480..44cf79ef7c4 100644 --- a/spec/datadog/tracing/contrib/sequel/configuration_spec.rb +++ b/spec/datadog/tracing/contrib/sequel/configuration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' diff --git a/spec/datadog/tracing/contrib/sequel/instrumentation_spec.rb b/spec/datadog/tracing/contrib/sequel/instrumentation_spec.rb index fef1f8930e7..2c243f889af 100644 --- a/spec/datadog/tracing/contrib/sequel/instrumentation_spec.rb +++ b/spec/datadog/tracing/contrib/sequel/instrumentation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/integration_examples' require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/sequel/integration_spec.rb b/spec/datadog/tracing/contrib/sequel/integration_spec.rb index d3207be4765..2d6d1657ef2 100644 --- a/spec/datadog/tracing/contrib/sequel/integration_spec.rb +++ b/spec/datadog/tracing/contrib/sequel/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/sequel/integration' diff --git a/spec/datadog/tracing/contrib/shoryuken/integration_spec.rb b/spec/datadog/tracing/contrib/shoryuken/integration_spec.rb index 28f9322b474..e556549ea76 100644 --- a/spec/datadog/tracing/contrib/shoryuken/integration_spec.rb +++ b/spec/datadog/tracing/contrib/shoryuken/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/shoryuken/integration' diff --git a/spec/datadog/tracing/contrib/shoryuken/patcher_spec.rb b/spec/datadog/tracing/contrib/shoryuken/patcher_spec.rb index 2492a65c273..2c874624a6f 100644 --- a/spec/datadog/tracing/contrib/shoryuken/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/shoryuken/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'shoryuken' diff --git a/spec/datadog/tracing/contrib/shoryuken/tracer_spec.rb b/spec/datadog/tracing/contrib/shoryuken/tracer_spec.rb index 6d5a6c123ff..7ddeabf261e 100644 --- a/spec/datadog/tracing/contrib/shoryuken/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/shoryuken/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/sidekiq/client_tracer_spec.rb b/spec/datadog/tracing/contrib/sidekiq/client_tracer_spec.rb index 9f383c718f3..865fc4075c5 100644 --- a/spec/datadog/tracing/contrib/sidekiq/client_tracer_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/client_tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/disabled_tracer_spec.rb b/spec/datadog/tracing/contrib/sidekiq/disabled_tracer_spec.rb index d5f74cc3254..0962064c2e1 100644 --- a/spec/datadog/tracing/contrib/sidekiq/disabled_tracer_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/disabled_tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/integration_spec.rb b/spec/datadog/tracing/contrib/sidekiq/integration_spec.rb index 5c353155c80..9ccd6861c8d 100644 --- a/spec/datadog/tracing/contrib/sidekiq/integration_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/sidekiq/integration' diff --git a/spec/datadog/tracing/contrib/sidekiq/patcher_spec.rb b/spec/datadog/tracing/contrib/sidekiq/patcher_spec.rb index c1671a17a12..2cbfbe55700 100644 --- a/spec/datadog/tracing/contrib/sidekiq/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat_spec.rb b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat_spec.rb index 4fb827272c5..3248015dea8 100644 --- a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative '../support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch_spec.rb b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch_spec.rb index d8fc7e83858..12f836052a9 100644 --- a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative '../support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info_spec.rb b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info_spec.rb index e988f272b5b..f794910b93e 100644 --- a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative '../support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller_spec.rb b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller_spec.rb index 4a2e92eae37..4e57754d661 100644 --- a/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative '../support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/server_tracer_spec.rb b/spec/datadog/tracing/contrib/sidekiq/server_tracer_spec.rb index a4e9e08fd8f..97ab4c1df2c 100644 --- a/spec/datadog/tracing/contrib/sidekiq/server_tracer_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/server_tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/contrib/sidekiq/support/helper.rb b/spec/datadog/tracing/contrib/sidekiq/support/helper.rb index b461e25ef7f..ecec0766df2 100644 --- a/spec/datadog/tracing/contrib/sidekiq/support/helper.rb +++ b/spec/datadog/tracing/contrib/sidekiq/support/helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/core/utils' require 'datadog/tracing' require 'datadog/tracing/contrib/sidekiq/client_tracer' diff --git a/spec/datadog/tracing/contrib/sidekiq/tracer_configure_spec.rb b/spec/datadog/tracing/contrib/sidekiq/tracer_configure_spec.rb index ed0eea08d0a..6076dcc4964 100644 --- a/spec/datadog/tracing/contrib/sidekiq/tracer_configure_spec.rb +++ b/spec/datadog/tracing/contrib/sidekiq/tracer_configure_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/contrib/sinatra/integration_spec.rb b/spec/datadog/tracing/contrib/sinatra/integration_spec.rb index 5164702c7c5..d1a35696b62 100644 --- a/spec/datadog/tracing/contrib/sinatra/integration_spec.rb +++ b/spec/datadog/tracing/contrib/sinatra/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/sinatra/integration' diff --git a/spec/datadog/tracing/contrib/sinatra/multi_app_spec.rb b/spec/datadog/tracing/contrib/sinatra/multi_app_spec.rb index 4628968119c..4b4b922cfaf 100644 --- a/spec/datadog/tracing/contrib/sinatra/multi_app_spec.rb +++ b/spec/datadog/tracing/contrib/sinatra/multi_app_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/datadog/tracing/contrib/sinatra/tracer_spec.rb b/spec/datadog/tracing/contrib/sinatra/tracer_spec.rb index c1cca14c1be..013e61d38a9 100644 --- a/spec/datadog/tracing/contrib/sinatra/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/sinatra/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'securerandom' require 'rack/test' require 'sinatra/base' diff --git a/spec/datadog/tracing/contrib/sneakers/integration_spec.rb b/spec/datadog/tracing/contrib/sneakers/integration_spec.rb index f54df39563b..a3ee162fab0 100644 --- a/spec/datadog/tracing/contrib/sneakers/integration_spec.rb +++ b/spec/datadog/tracing/contrib/sneakers/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/sneakers/integration' diff --git a/spec/datadog/tracing/contrib/sneakers/patcher_spec.rb b/spec/datadog/tracing/contrib/sneakers/patcher_spec.rb index 716283dfb64..c97dcf327db 100644 --- a/spec/datadog/tracing/contrib/sneakers/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/sneakers/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'sneakers' diff --git a/spec/datadog/tracing/contrib/sneakers/tracer_spec.rb b/spec/datadog/tracing/contrib/sneakers/tracer_spec.rb index ca836aaa75e..994d592cef1 100644 --- a/spec/datadog/tracing/contrib/sneakers/tracer_spec.rb +++ b/spec/datadog/tracing/contrib/sneakers/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' diff --git a/spec/datadog/tracing/contrib/sql_comment_propagation_examples.rb b/spec/datadog/tracing/contrib/sql_comment_propagation_examples.rb index 3bca980b1ab..4f39e1c99d3 100644 --- a/spec/datadog/tracing/contrib/sql_comment_propagation_examples.rb +++ b/spec/datadog/tracing/contrib/sql_comment_propagation_examples.rb @@ -1,5 +1,3 @@ -# typed: ignore - RSpec.shared_examples_for 'with sql comment propagation' do |span_op_name:, error: nil| context 'when default `disabled`' do it_behaves_like 'propagates with sql comment', mode: 'disabled', span_op_name: span_op_name, error: error do diff --git a/spec/datadog/tracing/contrib/stripe/integration_spec.rb b/spec/datadog/tracing/contrib/stripe/integration_spec.rb index 95e6d6c6fb4..7087a018660 100644 --- a/spec/datadog/tracing/contrib/stripe/integration_spec.rb +++ b/spec/datadog/tracing/contrib/stripe/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/stripe/integration' diff --git a/spec/datadog/tracing/contrib/stripe/patcher_spec.rb b/spec/datadog/tracing/contrib/stripe/patcher_spec.rb index 9c11c993199..94c976a701b 100644 --- a/spec/datadog/tracing/contrib/stripe/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/stripe/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'stripe' diff --git a/spec/datadog/tracing/contrib/stripe/request_spec.rb b/spec/datadog/tracing/contrib/stripe/request_spec.rb index 34f3b4a2a7e..d2ba1d78085 100644 --- a/spec/datadog/tracing/contrib/stripe/request_spec.rb +++ b/spec/datadog/tracing/contrib/stripe/request_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'ddtrace' require 'stripe' diff --git a/spec/datadog/tracing/contrib/sucker_punch/integration_spec.rb b/spec/datadog/tracing/contrib/sucker_punch/integration_spec.rb index 8c738ba474c..7e2d5b59eb0 100644 --- a/spec/datadog/tracing/contrib/sucker_punch/integration_spec.rb +++ b/spec/datadog/tracing/contrib/sucker_punch/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/sucker_punch/integration' diff --git a/spec/datadog/tracing/contrib/sucker_punch/patcher_spec.rb b/spec/datadog/tracing/contrib/sucker_punch/patcher_spec.rb index f933f938b96..a2643e12cc5 100644 --- a/spec/datadog/tracing/contrib/sucker_punch/patcher_spec.rb +++ b/spec/datadog/tracing/contrib/sucker_punch/patcher_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'datadog/tracing/contrib/analytics_examples' require 'sucker_punch' diff --git a/spec/datadog/tracing/contrib/suite/transport_spec.rb b/spec/datadog/tracing/contrib/suite/transport_spec.rb index 28318e26452..b981a84b3d5 100644 --- a/spec/datadog/tracing/contrib/suite/transport_spec.rb +++ b/spec/datadog/tracing/contrib/suite/transport_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/contrib/support/spec_helper' # Load integrations so they're available diff --git a/spec/datadog/tracing/contrib/support/matchers.rb b/spec/datadog/tracing/contrib/support/matchers.rb index ab87b10b8fc..09729ad56da 100644 --- a/spec/datadog/tracing/contrib/support/matchers.rb +++ b/spec/datadog/tracing/contrib/support/matchers.rb @@ -1,5 +1,3 @@ -# typed: false - # Remove vendor-specific syntax (e.g quoting) # to allow for unified query matching. # diff --git a/spec/datadog/tracing/contrib/support/resolver_helpers.rb b/spec/datadog/tracing/contrib/support/resolver_helpers.rb index be8d4ab3da5..c2e58f11620 100644 --- a/spec/datadog/tracing/contrib/support/resolver_helpers.rb +++ b/spec/datadog/tracing/contrib/support/resolver_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - RSpec.shared_examples 'a resolver with a matching pattern' do it 'returns the associated configuration' do is_expected.to be(config) diff --git a/spec/datadog/tracing/contrib/support/spec_helper.rb b/spec/datadog/tracing/contrib/support/spec_helper.rb index 51a14d372df..e6fcd362a55 100644 --- a/spec/datadog/tracing/contrib/support/spec_helper.rb +++ b/spec/datadog/tracing/contrib/support/spec_helper.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'matchers' diff --git a/spec/datadog/tracing/contrib/support/tracer_helpers.rb b/spec/datadog/tracing/contrib/support/tracer_helpers.rb index fb7fa19861e..684b5a6b5d2 100644 --- a/spec/datadog/tracing/contrib/support/tracer_helpers.rb +++ b/spec/datadog/tracing/contrib/support/tracer_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'support/faux_writer' require 'datadog/tracing/tracer' diff --git a/spec/datadog/tracing/contrib/utils/database_spec.rb b/spec/datadog/tracing/contrib/utils/database_spec.rb index c1436c9a215..30869b0d2c6 100644 --- a/spec/datadog/tracing/contrib/utils/database_spec.rb +++ b/spec/datadog/tracing/contrib/utils/database_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/utils/database' diff --git a/spec/datadog/tracing/contrib/utils/quantization/hash_spec.rb b/spec/datadog/tracing/contrib/utils/quantization/hash_spec.rb index 24ea9032cb9..68500913ec3 100644 --- a/spec/datadog/tracing/contrib/utils/quantization/hash_spec.rb +++ b/spec/datadog/tracing/contrib/utils/quantization/hash_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/utils/quantization/hash' diff --git a/spec/datadog/tracing/contrib/utils/quantization/http_spec.rb b/spec/datadog/tracing/contrib/utils/quantization/http_spec.rb index 52239e8ce35..efbddf987d8 100644 --- a/spec/datadog/tracing/contrib/utils/quantization/http_spec.rb +++ b/spec/datadog/tracing/contrib/utils/quantization/http_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/contrib/utils/quantization/http' diff --git a/spec/datadog/tracing/correlation_spec.rb b/spec/datadog/tracing/correlation_spec.rb index 289d50d78d2..8a1dea17c4b 100644 --- a/spec/datadog/tracing/correlation_spec.rb +++ b/spec/datadog/tracing/correlation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core' diff --git a/spec/datadog/tracing/diagnostics/health_spec.rb b/spec/datadog/tracing/diagnostics/health_spec.rb index d55f969835c..3d4fd133bf8 100644 --- a/spec/datadog/tracing/diagnostics/health_spec.rb +++ b/spec/datadog/tracing/diagnostics/health_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'ddtrace' require 'datadog/core/diagnostics/health' diff --git a/spec/datadog/tracing/distributed/b3_multi_spec.rb b/spec/datadog/tracing/distributed/b3_multi_spec.rb index 5893dc29f58..10844018046 100644 --- a/spec/datadog/tracing/distributed/b3_multi_spec.rb +++ b/spec/datadog/tracing/distributed/b3_multi_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/b3_multi' diff --git a/spec/datadog/tracing/distributed/b3_single_spec.rb b/spec/datadog/tracing/distributed/b3_single_spec.rb index 5a366481376..d14f1c6cdc0 100644 --- a/spec/datadog/tracing/distributed/b3_single_spec.rb +++ b/spec/datadog/tracing/distributed/b3_single_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/b3_single' diff --git a/spec/datadog/tracing/distributed/datadog_spec.rb b/spec/datadog/tracing/distributed/datadog_spec.rb index 8393c736676..881ccb0f6ae 100644 --- a/spec/datadog/tracing/distributed/datadog_spec.rb +++ b/spec/datadog/tracing/distributed/datadog_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/datadog' diff --git a/spec/datadog/tracing/distributed/datadog_tags_codec_spec.rb b/spec/datadog/tracing/distributed/datadog_tags_codec_spec.rb index 822215cee42..fb02eca7ad2 100644 --- a/spec/datadog/tracing/distributed/datadog_tags_codec_spec.rb +++ b/spec/datadog/tracing/distributed/datadog_tags_codec_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/datadog_tags_codec' diff --git a/spec/datadog/tracing/distributed/fetcher_spec.rb b/spec/datadog/tracing/distributed/fetcher_spec.rb index 6fc5464aa83..38aeecc4443 100644 --- a/spec/datadog/tracing/distributed/fetcher_spec.rb +++ b/spec/datadog/tracing/distributed/fetcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/fetcher' diff --git a/spec/datadog/tracing/distributed/helpers_spec.rb b/spec/datadog/tracing/distributed/helpers_spec.rb index 242ea3c884c..305efb495e3 100644 --- a/spec/datadog/tracing/distributed/helpers_spec.rb +++ b/spec/datadog/tracing/distributed/helpers_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/helpers' diff --git a/spec/datadog/tracing/distributed/none_spec.rb b/spec/datadog/tracing/distributed/none_spec.rb index e69dcd8683d..82a9c08c355 100644 --- a/spec/datadog/tracing/distributed/none_spec.rb +++ b/spec/datadog/tracing/distributed/none_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/none' diff --git a/spec/datadog/tracing/distributed/propagation_spec.rb b/spec/datadog/tracing/distributed/propagation_spec.rb index ea7b5c2ab51..2fb9b5febd0 100644 --- a/spec/datadog/tracing/distributed/propagation_spec.rb +++ b/spec/datadog/tracing/distributed/propagation_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/propagation' diff --git a/spec/datadog/tracing/distributed/trace_context_spec.rb b/spec/datadog/tracing/distributed/trace_context_spec.rb index 639f3c5577a..f96255edb75 100644 --- a/spec/datadog/tracing/distributed/trace_context_spec.rb +++ b/spec/datadog/tracing/distributed/trace_context_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/distributed/trace_context' diff --git a/spec/datadog/tracing/event_spec.rb b/spec/datadog/tracing/event_spec.rb index e6d14d7036e..97c980a02ba 100644 --- a/spec/datadog/tracing/event_spec.rb +++ b/spec/datadog/tracing/event_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core' diff --git a/spec/datadog/tracing/flush_spec.rb b/spec/datadog/tracing/flush_spec.rb index dd46c66fd5b..468f937f38a 100644 --- a/spec/datadog/tracing/flush_spec.rb +++ b/spec/datadog/tracing/flush_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/flush' diff --git a/spec/datadog/tracing/integration_spec.rb b/spec/datadog/tracing/integration_spec.rb index 9c16844642f..1c8672cc204 100644 --- a/spec/datadog/tracing/integration_spec.rb +++ b/spec/datadog/tracing/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/statsd' diff --git a/spec/datadog/tracing/metadata/analytics_spec.rb b/spec/datadog/tracing/metadata/analytics_spec.rb index 05e2362f050..a42563b3b98 100644 --- a/spec/datadog/tracing/metadata/analytics_spec.rb +++ b/spec/datadog/tracing/metadata/analytics_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/metadata/analytics' diff --git a/spec/datadog/tracing/metadata/errors_spec.rb b/spec/datadog/tracing/metadata/errors_spec.rb index e312644a7eb..0ef4bbc85cb 100644 --- a/spec/datadog/tracing/metadata/errors_spec.rb +++ b/spec/datadog/tracing/metadata/errors_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/metadata/tagging' diff --git a/spec/datadog/tracing/metadata/ext_spec.rb b/spec/datadog/tracing/metadata/ext_spec.rb index 8c620a30a38..5adc8d354eb 100644 --- a/spec/datadog/tracing/metadata/ext_spec.rb +++ b/spec/datadog/tracing/metadata/ext_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/metadata/ext' diff --git a/spec/datadog/tracing/metadata/tagging_spec.rb b/spec/datadog/tracing/metadata/tagging_spec.rb index 2cc4e1147c7..42725d01d3f 100644 --- a/spec/datadog/tracing/metadata/tagging_spec.rb +++ b/spec/datadog/tracing/metadata/tagging_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/metadata/tagging' diff --git a/spec/datadog/tracing/metadata_spec.rb b/spec/datadog/tracing/metadata_spec.rb index 4a30cce1beb..fad196bac57 100644 --- a/spec/datadog/tracing/metadata_spec.rb +++ b/spec/datadog/tracing/metadata_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/metadata' diff --git a/spec/datadog/tracing/pipeline/span_filter_spec.rb b/spec/datadog/tracing/pipeline/span_filter_spec.rb index 3043c1ed815..8ee7c649b90 100644 --- a/spec/datadog/tracing/pipeline/span_filter_spec.rb +++ b/spec/datadog/tracing/pipeline/span_filter_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/pipeline/span_processor_spec.rb b/spec/datadog/tracing/pipeline/span_processor_spec.rb index f9ad58de775..87821d342c0 100644 --- a/spec/datadog/tracing/pipeline/span_processor_spec.rb +++ b/spec/datadog/tracing/pipeline/span_processor_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require_relative 'support/helper' diff --git a/spec/datadog/tracing/pipeline/support/helper.rb b/spec/datadog/tracing/pipeline/support/helper.rb index c8900707f02..2622b8d7b5e 100644 --- a/spec/datadog/tracing/pipeline/support/helper.rb +++ b/spec/datadog/tracing/pipeline/support/helper.rb @@ -1,5 +1,3 @@ -# typed: true - require 'datadog/tracing/span' module PipelineHelpers diff --git a/spec/datadog/tracing/pipeline_spec.rb b/spec/datadog/tracing/pipeline_spec.rb index 3bcbb1d3965..ad092a7f971 100644 --- a/spec/datadog/tracing/pipeline_spec.rb +++ b/spec/datadog/tracing/pipeline_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/pipeline' diff --git a/spec/datadog/tracing/runtime/metrics_spec.rb b/spec/datadog/tracing/runtime/metrics_spec.rb index b15025b69ee..78855bbb80c 100644 --- a/spec/datadog/tracing/runtime/metrics_spec.rb +++ b/spec/datadog/tracing/runtime/metrics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core' diff --git a/spec/datadog/tracing/sampling/all_sampler_spec.rb b/spec/datadog/tracing/sampling/all_sampler_spec.rb index d482ef5cb77..6bc09155726 100644 --- a/spec/datadog/tracing/sampling/all_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/all_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/shared_examples' diff --git a/spec/datadog/tracing/sampling/matcher_spec.rb b/spec/datadog/tracing/sampling/matcher_spec.rb index 300ffa72957..8e8ac70e760 100644 --- a/spec/datadog/tracing/sampling/matcher_spec.rb +++ b/spec/datadog/tracing/sampling/matcher_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/matcher' diff --git a/spec/datadog/tracing/sampling/priority_sampler_spec.rb b/spec/datadog/tracing/sampling/priority_sampler_spec.rb index 4edd434dae2..b50f7b9c47a 100644 --- a/spec/datadog/tracing/sampling/priority_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/priority_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'logger' diff --git a/spec/datadog/tracing/sampling/rate_by_key_sampler_spec.rb b/spec/datadog/tracing/sampling/rate_by_key_sampler_spec.rb index 35ed4f28f85..a18df8248c9 100644 --- a/spec/datadog/tracing/sampling/rate_by_key_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/rate_by_key_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/rate_by_key_sampler' diff --git a/spec/datadog/tracing/sampling/rate_by_service_sampler_spec.rb b/spec/datadog/tracing/sampling/rate_by_service_sampler_spec.rb index 767310db5cc..fe1670eec73 100644 --- a/spec/datadog/tracing/sampling/rate_by_service_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/rate_by_service_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/shared_examples' diff --git a/spec/datadog/tracing/sampling/rate_limiter_spec.rb b/spec/datadog/tracing/sampling/rate_limiter_spec.rb index f6ea0f6ecd2..bff9f01d4c1 100644 --- a/spec/datadog/tracing/sampling/rate_limiter_spec.rb +++ b/spec/datadog/tracing/sampling/rate_limiter_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/rate_limiter' diff --git a/spec/datadog/tracing/sampling/rate_sampler_spec.rb b/spec/datadog/tracing/sampling/rate_sampler_spec.rb index 88cba103ff3..de1209d98da 100644 --- a/spec/datadog/tracing/sampling/rate_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/rate_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/sampling/shared_examples' diff --git a/spec/datadog/tracing/sampling/rule_sampler_spec.rb b/spec/datadog/tracing/sampling/rule_sampler_spec.rb index 17eca16c248..01bc4e6ba0c 100644 --- a/spec/datadog/tracing/sampling/rule_sampler_spec.rb +++ b/spec/datadog/tracing/sampling/rule_sampler_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing' diff --git a/spec/datadog/tracing/sampling/rule_spec.rb b/spec/datadog/tracing/sampling/rule_spec.rb index ea270702da2..e528b916a9b 100644 --- a/spec/datadog/tracing/sampling/rule_spec.rb +++ b/spec/datadog/tracing/sampling/rule_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core' diff --git a/spec/datadog/tracing/sampling/shared_examples.rb b/spec/datadog/tracing/sampling/shared_examples.rb index 4ead19c6a3c..f650ebe641e 100644 --- a/spec/datadog/tracing/sampling/shared_examples.rb +++ b/spec/datadog/tracing/sampling/shared_examples.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/trace_operation' RSpec.shared_examples 'sampler with sample rate' do |sample_rate| diff --git a/spec/datadog/tracing/span_operation_spec.rb b/spec/datadog/tracing/span_operation_spec.rb index 11f330cd559..d3b2e4f15b7 100644 --- a/spec/datadog/tracing/span_operation_spec.rb +++ b/spec/datadog/tracing/span_operation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'securerandom' diff --git a/spec/datadog/tracing/span_spec.rb b/spec/datadog/tracing/span_spec.rb index c716fdc13e1..0008e084137 100644 --- a/spec/datadog/tracing/span_spec.rb +++ b/spec/datadog/tracing/span_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'json' diff --git a/spec/datadog/tracing/sync_writer_spec.rb b/spec/datadog/tracing/sync_writer_spec.rb index d64a87bc5c7..07e8ffefae6 100644 --- a/spec/datadog/tracing/sync_writer_spec.rb +++ b/spec/datadog/tracing/sync_writer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/configuration/agent_settings_resolver' diff --git a/spec/datadog/tracing/trace_digest_spec.rb b/spec/datadog/tracing/trace_digest_spec.rb index 95c72789f92..83ea965f93a 100644 --- a/spec/datadog/tracing/trace_digest_spec.rb +++ b/spec/datadog/tracing/trace_digest_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/identity' diff --git a/spec/datadog/tracing/trace_operation_spec.rb b/spec/datadog/tracing/trace_operation_spec.rb index 977e9fcce37..3972db8b60e 100644 --- a/spec/datadog/tracing/trace_operation_spec.rb +++ b/spec/datadog/tracing/trace_operation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'time' diff --git a/spec/datadog/tracing/trace_segment_spec.rb b/spec/datadog/tracing/trace_segment_spec.rb index 1f36338b9fa..bb835b47e41 100644 --- a/spec/datadog/tracing/trace_segment_spec.rb +++ b/spec/datadog/tracing/trace_segment_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/identity' diff --git a/spec/datadog/tracing/tracer_integration_spec.rb b/spec/datadog/tracing/tracer_integration_spec.rb index e4c190db3c2..6792a604419 100644 --- a/spec/datadog/tracing/tracer_integration_spec.rb +++ b/spec/datadog/tracing/tracer_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/runtime/ext' diff --git a/spec/datadog/tracing/tracer_spec.rb b/spec/datadog/tracing/tracer_spec.rb index 29aa98f8b17..2c08d58b24b 100644 --- a/spec/datadog/tracing/tracer_spec.rb +++ b/spec/datadog/tracing/tracer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'time' diff --git a/spec/datadog/tracing/utils_spec.rb b/spec/datadog/tracing/utils_spec.rb index 2587f6e3451..f977f6cc913 100644 --- a/spec/datadog/tracing/utils_spec.rb +++ b/spec/datadog/tracing/utils_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/tracing/utils' diff --git a/spec/datadog/tracing/workers/trace_writer_spec.rb b/spec/datadog/tracing/workers/trace_writer_spec.rb index 3e4bda827cc..592b89ae6df 100644 --- a/spec/datadog/tracing/workers/trace_writer_spec.rb +++ b/spec/datadog/tracing/workers/trace_writer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/workers/async' diff --git a/spec/datadog/tracing/workers_integration_spec.rb b/spec/datadog/tracing/workers_integration_spec.rb index 8525fbcf2a6..ab6aa7339b5 100644 --- a/spec/datadog/tracing/workers_integration_spec.rb +++ b/spec/datadog/tracing/workers_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'time' diff --git a/spec/datadog/tracing/workers_spec.rb b/spec/datadog/tracing/workers_spec.rb index be937d10dfd..ccb0e61ba9f 100644 --- a/spec/datadog/tracing/workers_spec.rb +++ b/spec/datadog/tracing/workers_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'stringio' diff --git a/spec/datadog/tracing/writer_spec.rb b/spec/datadog/tracing/writer_spec.rb index 9258a79acc3..b255d5c9815 100644 --- a/spec/datadog/tracing/writer_spec.rb +++ b/spec/datadog/tracing/writer_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'json' diff --git a/spec/datadog/tracing_spec.rb b/spec/datadog/tracing_spec.rb index b83aa50445e..576014259b3 100644 --- a/spec/datadog/tracing_spec.rb +++ b/spec/datadog/tracing_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/statsd' diff --git a/spec/ddtrace/auto_instrument_spec.rb b/spec/ddtrace/auto_instrument_spec.rb index 236aa7af399..e11a769ec38 100644 --- a/spec/ddtrace/auto_instrument_spec.rb +++ b/spec/ddtrace/auto_instrument_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'datadog/tracing/contrib/support/spec_helper' require 'rack/test' diff --git a/spec/ddtrace/benchmark/gem_loading_spec.rb b/spec/ddtrace/benchmark/gem_loading_spec.rb index b039ae81529..01ee038e346 100644 --- a/spec/ddtrace/benchmark/gem_loading_spec.rb +++ b/spec/ddtrace/benchmark/gem_loading_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' unless PlatformHelpers.jruby? diff --git a/spec/ddtrace/benchmark/pg_contrib_spec.rb b/spec/ddtrace/benchmark/pg_contrib_spec.rb index 6ff86e34395..9e6f10d31fa 100644 --- a/spec/ddtrace/benchmark/pg_contrib_spec.rb +++ b/spec/ddtrace/benchmark/pg_contrib_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'benchmark' diff --git a/spec/ddtrace/benchmark/sql_comment_propagation_spec.rb b/spec/ddtrace/benchmark/sql_comment_propagation_spec.rb index e781c051c6b..f55069f7dac 100644 --- a/spec/ddtrace/benchmark/sql_comment_propagation_spec.rb +++ b/spec/ddtrace/benchmark/sql_comment_propagation_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'benchmark/ips' diff --git a/spec/ddtrace/benchmark/telemetry_spec.rb b/spec/ddtrace/benchmark/telemetry_spec.rb index 0e4b0611cbc..3880755f566 100644 --- a/spec/ddtrace/benchmark/telemetry_spec.rb +++ b/spec/ddtrace/benchmark/telemetry_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'benchmark' diff --git a/spec/ddtrace/transport/http/adapters/net_integration_spec.rb b/spec/ddtrace/transport/http/adapters/net_integration_spec.rb index b6e7d5ea53c..bf218e737b9 100644 --- a/spec/ddtrace/transport/http/adapters/net_integration_spec.rb +++ b/spec/ddtrace/transport/http/adapters/net_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'stringio' diff --git a/spec/ddtrace/transport/http/adapters/net_spec.rb b/spec/ddtrace/transport/http/adapters/net_spec.rb index ed924b636f8..5e367ddad6f 100644 --- a/spec/ddtrace/transport/http/adapters/net_spec.rb +++ b/spec/ddtrace/transport/http/adapters/net_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/adapters/net' diff --git a/spec/ddtrace/transport/http/adapters/registry_spec.rb b/spec/ddtrace/transport/http/adapters/registry_spec.rb index 42c8330bd99..236a54209aa 100644 --- a/spec/ddtrace/transport/http/adapters/registry_spec.rb +++ b/spec/ddtrace/transport/http/adapters/registry_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/adapters/registry' diff --git a/spec/ddtrace/transport/http/adapters/test_spec.rb b/spec/ddtrace/transport/http/adapters/test_spec.rb index bb67ce6bb2d..197e7c2fd93 100644 --- a/spec/ddtrace/transport/http/adapters/test_spec.rb +++ b/spec/ddtrace/transport/http/adapters/test_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/adapters/test' diff --git a/spec/ddtrace/transport/http/adapters/unix_socket_integration_spec.rb b/spec/ddtrace/transport/http/adapters/unix_socket_integration_spec.rb index 365cc069c79..0ab44058d21 100644 --- a/spec/ddtrace/transport/http/adapters/unix_socket_integration_spec.rb +++ b/spec/ddtrace/transport/http/adapters/unix_socket_integration_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'stringio' diff --git a/spec/ddtrace/transport/http/adapters/unix_socket_spec.rb b/spec/ddtrace/transport/http/adapters/unix_socket_spec.rb index 4d59d5044a0..87d4170f20e 100644 --- a/spec/ddtrace/transport/http/adapters/unix_socket_spec.rb +++ b/spec/ddtrace/transport/http/adapters/unix_socket_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/adapters/unix_socket' diff --git a/spec/ddtrace/transport/http/api/endpoint_spec.rb b/spec/ddtrace/transport/http/api/endpoint_spec.rb index cf70e94ccd6..2c50373f9e7 100644 --- a/spec/ddtrace/transport/http/api/endpoint_spec.rb +++ b/spec/ddtrace/transport/http/api/endpoint_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/env' diff --git a/spec/ddtrace/transport/http/api/fallbacks_spec.rb b/spec/ddtrace/transport/http/api/fallbacks_spec.rb index 4bf93eee906..e90c911e819 100644 --- a/spec/ddtrace/transport/http/api/fallbacks_spec.rb +++ b/spec/ddtrace/transport/http/api/fallbacks_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/api/fallbacks' diff --git a/spec/ddtrace/transport/http/api/instance_spec.rb b/spec/ddtrace/transport/http/api/instance_spec.rb index c0ea815f4e4..1f695887a00 100644 --- a/spec/ddtrace/transport/http/api/instance_spec.rb +++ b/spec/ddtrace/transport/http/api/instance_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/api/instance' diff --git a/spec/ddtrace/transport/http/api/map_spec.rb b/spec/ddtrace/transport/http/api/map_spec.rb index 93ff2a0285e..043d6859a38 100644 --- a/spec/ddtrace/transport/http/api/map_spec.rb +++ b/spec/ddtrace/transport/http/api/map_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/api/map' diff --git a/spec/ddtrace/transport/http/api/spec_spec.rb b/spec/ddtrace/transport/http/api/spec_spec.rb index 46ccc25b13c..81ecfaf953b 100644 --- a/spec/ddtrace/transport/http/api/spec_spec.rb +++ b/spec/ddtrace/transport/http/api/spec_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/api/spec' diff --git a/spec/ddtrace/transport/http/api_spec.rb b/spec/ddtrace/transport/http/api_spec.rb index bc64ad0ef70..492a7a72d0d 100644 --- a/spec/ddtrace/transport/http/api_spec.rb +++ b/spec/ddtrace/transport/http/api_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/api' diff --git a/spec/ddtrace/transport/http/benchmark_spec.rb b/spec/ddtrace/transport/http/benchmark_spec.rb index 259cd2935b4..c7bb18631e6 100644 --- a/spec/ddtrace/transport/http/benchmark_spec.rb +++ b/spec/ddtrace/transport/http/benchmark_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'benchmark' diff --git a/spec/ddtrace/transport/http/builder_spec.rb b/spec/ddtrace/transport/http/builder_spec.rb index da9c1b6f2cd..0fab3736c5c 100644 --- a/spec/ddtrace/transport/http/builder_spec.rb +++ b/spec/ddtrace/transport/http/builder_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/builder' diff --git a/spec/ddtrace/transport/http/client_spec.rb b/spec/ddtrace/transport/http/client_spec.rb index 0dbe67924cc..44559dd3342 100644 --- a/spec/ddtrace/transport/http/client_spec.rb +++ b/spec/ddtrace/transport/http/client_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/ddtrace/transport/http/env_spec.rb b/spec/ddtrace/transport/http/env_spec.rb index e7e4a0a5136..bd22eebc4b0 100644 --- a/spec/ddtrace/transport/http/env_spec.rb +++ b/spec/ddtrace/transport/http/env_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/env' diff --git a/spec/ddtrace/transport/http/integration_spec.rb b/spec/ddtrace/transport/http/integration_spec.rb index 23d33c0633d..0a4035dfa59 100644 --- a/spec/ddtrace/transport/http/integration_spec.rb +++ b/spec/ddtrace/transport/http/integration_spec.rb @@ -1,5 +1,3 @@ -# typed: ignore - require 'spec_helper' require 'datadog/tracing/writer' diff --git a/spec/ddtrace/transport/http/response_spec.rb b/spec/ddtrace/transport/http/response_spec.rb index 26a3a77c50f..93dc4bb4695 100644 --- a/spec/ddtrace/transport/http/response_spec.rb +++ b/spec/ddtrace/transport/http/response_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/response' diff --git a/spec/ddtrace/transport/http/statistics_spec.rb b/spec/ddtrace/transport/http/statistics_spec.rb index 8fdcc16427f..fb8cb72bea3 100644 --- a/spec/ddtrace/transport/http/statistics_spec.rb +++ b/spec/ddtrace/transport/http/statistics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/statistics' diff --git a/spec/ddtrace/transport/http/traces_spec.rb b/spec/ddtrace/transport/http/traces_spec.rb index ab1a7a1a49c..b8c65dc92f4 100644 --- a/spec/ddtrace/transport/http/traces_spec.rb +++ b/spec/ddtrace/transport/http/traces_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http/traces' diff --git a/spec/ddtrace/transport/http_spec.rb b/spec/ddtrace/transport/http_spec.rb index 809a4f20bd0..765e0b6155e 100644 --- a/spec/ddtrace/transport/http_spec.rb +++ b/spec/ddtrace/transport/http_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/http' diff --git a/spec/ddtrace/transport/io/client_spec.rb b/spec/ddtrace/transport/io/client_spec.rb index b704084aa8a..b1578ca64fb 100644 --- a/spec/ddtrace/transport/io/client_spec.rb +++ b/spec/ddtrace/transport/io/client_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/io/client' diff --git a/spec/ddtrace/transport/io/response_spec.rb b/spec/ddtrace/transport/io/response_spec.rb index 4d1dc9a914d..ec8a1c1221e 100644 --- a/spec/ddtrace/transport/io/response_spec.rb +++ b/spec/ddtrace/transport/io/response_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/io/response' diff --git a/spec/ddtrace/transport/io/traces_spec.rb b/spec/ddtrace/transport/io/traces_spec.rb index d8000106604..030deff7fb4 100644 --- a/spec/ddtrace/transport/io/traces_spec.rb +++ b/spec/ddtrace/transport/io/traces_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/encoding' diff --git a/spec/ddtrace/transport/io_spec.rb b/spec/ddtrace/transport/io_spec.rb index 568806e3740..28d66c09ab3 100644 --- a/spec/ddtrace/transport/io_spec.rb +++ b/spec/ddtrace/transport/io_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/io' diff --git a/spec/ddtrace/transport/parcel_spec.rb b/spec/ddtrace/transport/parcel_spec.rb index f06a1214462..31bbff95a9f 100644 --- a/spec/ddtrace/transport/parcel_spec.rb +++ b/spec/ddtrace/transport/parcel_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/parcel' diff --git a/spec/ddtrace/transport/request_spec.rb b/spec/ddtrace/transport/request_spec.rb index 6eee788d923..d4bd1c23d16 100644 --- a/spec/ddtrace/transport/request_spec.rb +++ b/spec/ddtrace/transport/request_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/request' diff --git a/spec/ddtrace/transport/response_spec.rb b/spec/ddtrace/transport/response_spec.rb index ce8cb1634e6..9ec7b566d81 100644 --- a/spec/ddtrace/transport/response_spec.rb +++ b/spec/ddtrace/transport/response_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/response' diff --git a/spec/ddtrace/transport/serializable_trace_spec.rb b/spec/ddtrace/transport/serializable_trace_spec.rb index 67d911b9601..0173806846b 100644 --- a/spec/ddtrace/transport/serializable_trace_spec.rb +++ b/spec/ddtrace/transport/serializable_trace_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'msgpack' diff --git a/spec/ddtrace/transport/statistics_spec.rb b/spec/ddtrace/transport/statistics_spec.rb index 4689f3199cf..8ff95665c89 100644 --- a/spec/ddtrace/transport/statistics_spec.rb +++ b/spec/ddtrace/transport/statistics_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace' diff --git a/spec/ddtrace/transport/trace_formatter_spec.rb b/spec/ddtrace/transport/trace_formatter_spec.rb index 730e4712643..0d240df15f8 100644 --- a/spec/ddtrace/transport/trace_formatter_spec.rb +++ b/spec/ddtrace/transport/trace_formatter_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'datadog/core/environment/identity' diff --git a/spec/ddtrace/transport/traces_spec.rb b/spec/ddtrace/transport/traces_spec.rb index f83df2f7f28..55e70c4ce8e 100644 --- a/spec/ddtrace/transport/traces_spec.rb +++ b/spec/ddtrace/transport/traces_spec.rb @@ -1,5 +1,3 @@ -# typed: false - require 'spec_helper' require 'ddtrace/transport/traces' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9cbe8b377e7..b63f72261d1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,3 @@ -# typed: ignore - $LOAD_PATH.unshift File.expand_path('..', __dir__) $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'pry' diff --git a/spec/support/configuration_helpers.rb b/spec/support/configuration_helpers.rb index 0f80418cb40..f50c8ed3798 100644 --- a/spec/support/configuration_helpers.rb +++ b/spec/support/configuration_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'bundler' module ConfigurationHelpers diff --git a/spec/support/container_helpers.rb b/spec/support/container_helpers.rb index 40c4d8f03d1..01753b946c5 100644 --- a/spec/support/container_helpers.rb +++ b/spec/support/container_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'stringio' module ContainerHelpers diff --git a/spec/support/core_helpers.rb b/spec/support/core_helpers.rb index 3d9bfde9eff..087cc2fdf5f 100644 --- a/spec/support/core_helpers.rb +++ b/spec/support/core_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module CoreHelpers # Asserts that a deprecated action is recorded by the `subject` execution. RSpec.shared_examples 'records deprecated action' do |matcher = nil| diff --git a/spec/support/faux_transport.rb b/spec/support/faux_transport.rb index bd8f1e90cc3..8721648a818 100644 --- a/spec/support/faux_transport.rb +++ b/spec/support/faux_transport.rb @@ -1,5 +1,3 @@ -# typed: true - require 'ddtrace/transport/http' # FauxTransport is a dummy Datadog::Transport that doesn't send data to an agent. diff --git a/spec/support/faux_writer.rb b/spec/support/faux_writer.rb index 80113820d68..17dbbeec5fb 100644 --- a/spec/support/faux_writer.rb +++ b/spec/support/faux_writer.rb @@ -1,5 +1,3 @@ -# typed: true - require 'datadog/tracing/writer' require 'support/faux_transport' diff --git a/spec/support/health_metric_helpers.rb b/spec/support/health_metric_helpers.rb index 7c5ec229e9e..39059bf9a88 100644 --- a/spec/support/health_metric_helpers.rb +++ b/spec/support/health_metric_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'support/metric_helpers' require 'ddtrace' require 'datadog/tracing/diagnostics/ext' diff --git a/spec/support/http_helpers.rb b/spec/support/http_helpers.rb index b347699fe08..bb00dfe0aca 100644 --- a/spec/support/http_helpers.rb +++ b/spec/support/http_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'time' require 'net/http' require 'spec/support/synchronization_helpers' diff --git a/spec/support/log_helpers.rb b/spec/support/log_helpers.rb index ec16a862cc3..cef1daa4bf0 100644 --- a/spec/support/log_helpers.rb +++ b/spec/support/log_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module LogHelpers def without_warnings(&block) LogHelpers.without_warnings(&block) diff --git a/spec/support/metric_helpers.rb b/spec/support/metric_helpers.rb index e3c7d682d42..78d1d33af8a 100644 --- a/spec/support/metric_helpers.rb +++ b/spec/support/metric_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'support/statsd_helpers' module MetricHelpers diff --git a/spec/support/network_helpers.rb b/spec/support/network_helpers.rb index affbc558c13..ad0e4f47590 100644 --- a/spec/support/network_helpers.rb +++ b/spec/support/network_helpers.rb @@ -1,5 +1,3 @@ -# typed: true - module NetworkHelpers # Returns a TCP "host:port" endpoint currently available # for listening in the local machine diff --git a/spec/support/object_helpers.rb b/spec/support/object_helpers.rb index e2c367a0cdb..347ee906366 100644 --- a/spec/support/object_helpers.rb +++ b/spec/support/object_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module ObjectHelpers RSpec::Matchers.define :be_a_frozen_copy_of do |expected| match do |actual| diff --git a/spec/support/object_space_helper.rb b/spec/support/object_space_helper.rb index 27f9c683a87..03f3ca79b48 100644 --- a/spec/support/object_space_helper.rb +++ b/spec/support/object_space_helper.rb @@ -1,5 +1,3 @@ -# typed: true - require 'objspace' module ObjectSpaceHelper diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index 4336e3e6738..0c664fbdb28 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -1,5 +1,3 @@ -# typed: true - require 'os' module PlatformHelpers diff --git a/spec/support/rails_active_record_helpers.rb b/spec/support/rails_active_record_helpers.rb index 58db20d57a8..f0151ecc38b 100644 --- a/spec/support/rails_active_record_helpers.rb +++ b/spec/support/rails_active_record_helpers.rb @@ -1,5 +1,3 @@ -# typed: true - module RailsActiveRecordHelpers def get_adapter_name Datadog::Tracing::Contrib::ActiveRecord::Utils.adapter_name diff --git a/spec/support/span_helpers.rb b/spec/support/span_helpers.rb index 641520cb367..dcdb145594c 100644 --- a/spec/support/span_helpers.rb +++ b/spec/support/span_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/metadata/ext' module SpanHelpers diff --git a/spec/support/spy_transport.rb b/spec/support/spy_transport.rb index 1caa4a641cd..7267470f3b5 100644 --- a/spec/support/spy_transport.rb +++ b/spec/support/spy_transport.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/core/encoding' require 'ddtrace/transport/http' diff --git a/spec/support/statsd_helpers.rb b/spec/support/statsd_helpers.rb index b97d786a16e..384fae7933f 100644 --- a/spec/support/statsd_helpers.rb +++ b/spec/support/statsd_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module StatsdHelpers shared_context 'statsd' do let(:statsd) { spy('statsd') } # TODO: Make this an instance double. diff --git a/spec/support/synchronization_helpers.rb b/spec/support/synchronization_helpers.rb index 096835d7e7c..fd5efee9ac3 100644 --- a/spec/support/synchronization_helpers.rb +++ b/spec/support/synchronization_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'English' module SynchronizationHelpers diff --git a/spec/support/test_access_patch.rb b/spec/support/test_access_patch.rb index c393d121f37..ce8fef93275 100644 --- a/spec/support/test_access_patch.rb +++ b/spec/support/test_access_patch.rb @@ -1,5 +1,3 @@ -# typed: true - # Give access to otherwise private members module Datadog module Tracing diff --git a/spec/support/test_helpers.rb b/spec/support/test_helpers.rb index da9f2237025..e50b73c1713 100644 --- a/spec/support/test_helpers.rb +++ b/spec/support/test_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - module TestHelpers module_function diff --git a/spec/support/thread_helpers.rb b/spec/support/thread_helpers.rb index 344e66ee959..f18e5ed23e8 100644 --- a/spec/support/thread_helpers.rb +++ b/spec/support/thread_helpers.rb @@ -1,5 +1,3 @@ -# typed: true - module ThreadHelpers module_function diff --git a/spec/support/tracer_helpers.rb b/spec/support/tracer_helpers.rb index 4c4fb470159..c546d877557 100644 --- a/spec/support/tracer_helpers.rb +++ b/spec/support/tracer_helpers.rb @@ -1,5 +1,3 @@ -# typed: false - require 'datadog/tracing/tracer' require 'datadog/tracing/trace_operation' require 'support/faux_writer'