<commit_before># This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-02 12:16:32 +0100 using RuboCop version 0.65.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 41
Metrics/AbcSize:
  Max: 86

# Offense count: 2
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 31

# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 216

# Offense count: 20
Metrics/CyclomaticComplexity:
  Max: 20

# Offense count: 44
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 65

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
  Max: 101

# Offense count: 19
Metrics/PerceivedComplexity:
  Max: 21

# Offense count: 3
Style/ClassVars:
  Exclude:
    - 'lib/faraday/rack_builder.rb'
    - 'test/helper.rb'

# Offense count: 19
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/autoload.rb'
    - 'lib/faraday/dependency_loader.rb'
    - 'lib/faraday/encoders/flat_params_encoder.rb'
    - 'lib/faraday/middleware.rb'
    - 'lib/faraday/options/connection_options.rb'
    - 'lib/faraday/options/proxy_options.rb'
    - 'lib/faraday/options/request_options.rb'
    - 'lib/faraday/request/retry.rb'
    - 'lib/faraday/request/token_authentication.rb'
    - 'lib/faraday/response.rb'
    - 'lib/faraday/response/logger.rb'
    - 'lib/faraday/response/raise_error.rb'
    - 'lib/faraday/utils.rb'

# Offense count: 9
Style/DoubleNegation:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/excon.rb'
    - 'lib/faraday/adapter/net_http.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/connection.rb'
    - 'lib/faraday/options/env.rb'
    - 'lib/faraday/response.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 9
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
  Exclude:
    - 'lib/faraday/encoders/nested_params_encoder.rb'
    - 'test/adapters/integration.rb'
    - 'test/live_server.rb'

# Offense count: 2
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
  Exclude:
    - 'script/generate_certs'

# Offense count: 28
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/em_http_ssl_patch.rb'
    - 'lib/faraday/adapter/em_synchrony.rb'
    - 'lib/faraday/adapter/excon.rb'
    - 'lib/faraday/adapter/httpclient.rb'
    - 'lib/faraday/adapter/net_http.rb'
    - 'lib/faraday/adapter/net_http_persistent.rb'
    - 'lib/faraday/adapter/patron.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/connection.rb'
    - 'lib/faraday/request/retry.rb'
    - 'lib/faraday/request/url_encoded.rb'
    - 'lib/faraday/utils/headers.rb'

# Offense count: 1
Style/IfInsideElse:
  Exclude:
    - 'spec/support/helper_methods.rb'

# Offense count: 24
# Cop supports --auto-correct.
Style/IfUnlessModifier:
  Enabled: false

# Offense count: 1
Style/MethodMissingSuper:
  Exclude:
    - 'lib/faraday.rb'

# Offense count: 1
Style/MissingRespondToMissing:
  Exclude:
    - 'lib/faraday.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, Autocorrect.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
  Exclude:
    - 'lib/faraday/utils.rb'

# Offense count: 6
# Cop supports --auto-correct.
Style/MultilineIfModifier:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/em_synchrony.rb'
    - 'lib/faraday/adapter/net_http_persistent.rb'
    - 'lib/faraday/adapter/rack.rb'
    - 'test/adapters/em_http_test.rb'
    - 'test/helper.rb'

# Offense count: 4
Style/MultilineTernaryOperator:
  Exclude:
    - 'lib/faraday/adapter/test.rb'

# Offense count: 1
Style/MultipleComparison:
  Exclude:<commit_msg>Regenerates Rubocop TODOs.<commit_after># This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-02 16:35:49 +0000 using RuboCop version 0.65.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 40
Metrics/AbcSize:
  Max: 86

# Offense count: 2
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 31

# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 216

# Offense count: 19
Metrics/CyclomaticComplexity:
  Max: 20

# Offense count: 44
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
  Max: 65

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
  Max: 101

# Offense count: 17
Metrics/PerceivedComplexity:
  Max: 21

# Offense count: 3
Style/ClassVars:
  Exclude:
    - 'lib/faraday/rack_builder.rb'
    - 'test/helper.rb'

# Offense count: 19
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/autoload.rb'
    - 'lib/faraday/dependency_loader.rb'
    - 'lib/faraday/encoders/flat_params_encoder.rb'
    - 'lib/faraday/middleware.rb'
    - 'lib/faraday/options/connection_options.rb'
    - 'lib/faraday/options/proxy_options.rb'
    - 'lib/faraday/options/request_options.rb'
    - 'lib/faraday/request/retry.rb'
    - 'lib/faraday/request/token_authentication.rb'
    - 'lib/faraday/response.rb'
    - 'lib/faraday/response/logger.rb'
    - 'lib/faraday/response/raise_error.rb'
    - 'lib/faraday/utils.rb'

# Offense count: 9
Style/DoubleNegation:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/excon.rb'
    - 'lib/faraday/adapter/net_http.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/connection.rb'
    - 'lib/faraday/options/env.rb'
    - 'lib/faraday/response.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 9
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
  Exclude:
    - 'lib/faraday/encoders/nested_params_encoder.rb'
    - 'test/adapters/integration.rb'
    - 'test/live_server.rb'

# Offense count: 2
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
  Exclude:
    - 'script/generate_certs'

# Offense count: 28
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/em_http_ssl_patch.rb'
    - 'lib/faraday/adapter/em_synchrony.rb'
    - 'lib/faraday/adapter/excon.rb'
    - 'lib/faraday/adapter/httpclient.rb'
    - 'lib/faraday/adapter/net_http.rb'
    - 'lib/faraday/adapter/net_http_persistent.rb'
    - 'lib/faraday/adapter/patron.rb'
    - 'lib/faraday/adapter/test.rb'
    - 'lib/faraday/connection.rb'
    - 'lib/faraday/request/retry.rb'
    - 'lib/faraday/request/url_encoded.rb'
    - 'lib/faraday/utils/headers.rb'

# Offense count: 1
Style/IfInsideElse:
  Exclude:
    - 'spec/support/helper_methods.rb'

# Offense count: 24
# Cop supports --auto-correct.
Style/IfUnlessModifier:
  Enabled: false

# Offense count: 1
Style/MethodMissingSuper:
  Exclude:
    - 'lib/faraday.rb'

# Offense count: 1
Style/MissingRespondToMissing:
  Exclude:
    - 'lib/faraday.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, Autocorrect.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
  Exclude:
    - 'lib/faraday/utils.rb'

# Offense count: 5
# Cop supports --auto-correct.
Style/MultilineIfModifier:
  Exclude:
    - 'lib/faraday/adapter/em_http.rb'
    - 'lib/faraday/adapter/em_synchrony.rb'
    - 'lib/faraday/adapter/net_http_persistent.rb'
    - 'test/adapters/em_http_test.rb'
    - 'test/helper.rb'

# Offense count: 4
Style/MultilineTernaryOperator:
  Exclude:
    - 'lib/faraday/adapter/test.rb'

# Offense count: 1
Style/MultipleComparison:
  Exclude:
{'fraction_non_alphanumeric': 0.12718746425712, 'fraction_numerical': 0.015326546951847191, 'mean_word_length': 3.50489438433797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3551918', 'n_tokens_mistral': 3349, 'n_tokens_neox': 3112, 'n_words': 576}