Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint #1536

Merged
merged 3 commits into from
Dec 14, 2023
Merged

Lint #1536

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ group :development, :test do
end

group :development, :lint do
gem 'racc', '~> 1.7' # for RuboCop, on Ruby 3.3
gem 'rubocop'
gem 'rubocop-packaging', '~> 0.5'
gem 'rubocop-performance', '~> 1.0'
Expand Down
2 changes: 1 addition & 1 deletion lib/faraday/adapter/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def verify_stubbed_calls
# which means that all of a path, parameters, and headers must be the same as an actual request.
def strict_mode=(value)
@strict_mode = value
@stack.each do |_method, stubs|
@stack.each_value do |stubs|
stubs.each do |stub|
stub.strict_mode = value
end
Expand Down
2 changes: 0 additions & 2 deletions lib/faraday/logging/formatter.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require 'pp'
olleolleolle marked this conversation as resolved.
Show resolved Hide resolved

module Faraday
module Logging
# Serves as an integration point to customize logging
Expand Down