jaredbeck/graph_matching

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 50 --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.41.1.
# 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.

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/DeprecatedAttributeAssignment:
  Exclude:
    - 'graph_matching.gemspec'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequireMFA:
  Exclude:
    - 'graph_matching.gemspec'

# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
  Exclude:
    - 'graph_matching.gemspec'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
  Exclude:
    - 'lib/graph_matching/algorithm/mcm_general.rb'

# This cop supports safe autocorrection (--autocorrect).
Lint/AmbiguousOperatorPrecedence:
  Exclude:
    - 'lib/graph_matching/algorithm/mwm_general.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: RequireParenthesesForMethodChains.
Lint/AmbiguousRange:
  Exclude:
    - 'lib/graph_matching/algorithm/mwm_general.rb'
    - 'lib/graph_matching/algorithm/mwmg_delta_assertions.rb'

# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
  Exclude:
    - 'spec/graph_matching/graph/graph_spec.rb'
    - 'spec/graph_matching/graph/weighted_spec.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonAtomicFileOperation:
  Exclude:
    - 'lib/graph_matching/visualize.rb'

# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
  Max: 91

# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
  Max: 19

# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
  Max: 7

# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
  Max: 19

# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
  Exclude:
    - 'benchmark/mcm_bipartite/complete_bigraphs/benchmark.rb'
    - 'benchmark/mcm_general/complete_graphs/benchmark.rb'
    - 'benchmark/mwm_bipartite/complete_bigraphs/benchmark.rb'
    - 'benchmark/mwm_general/complete_graphs/benchmark.rb'
    - 'benchmark/mwm_general/incomplete_graphs/benchmark.rb'
    - 'lib/graph_matching/algorithm/mcm_bipartite.rb'
    - 'lib/graph_matching/algorithm/mcm_general.rb'
    - 'lib/graph_matching/algorithm/mwm_bipartite.rb'
    - 'lib/graph_matching/algorithm/mwm_general.rb'
    - 'lib/graph_matching/directed_edge_set.rb'
    - 'lib/graph_matching/graph/graph.rb'
    - 'lib/graph_matching/graph/weighted.rb'
    - 'lib/graph_matching/matching.rb'
    - 'lib/graph_matching/ordered_set.rb'
    - 'lib/graph_matching/visualize.rb'
    - 'profile/mwm_general/profile.rb'
    - 'spec/graph_matching/algorithm/mcm_general_spec.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
  Exclude:
    - 'lib/graph_matching/ordered_set.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
Style/CaseLikeIf:
  Exclude:
    - 'lib/graph_matching/algorithm/mwm_general.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Keywords, RequireColon.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
  Exclude:
    - 'lib/graph_matching/algorithm/mwmg_delta_assertions.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
  Exclude:
    - 'lib/graph_matching/algorithm/mwm_general.rb'

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, AllowComments.
# SupportedStyles: empty, nil, both
Style/EmptyElse:
  Exclude:
    - 'lib/graph_matching/algorithm/mwm_general.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
  Exclude:
    - 'profile/mwm_general/profile.rb'

# This cop supports safe autocorrection (--autocorrect).
Style/NegatedIfElseCondition:
  Exclude:
    - 'lib/graph_matching/algorithm/mcm_general.rb'

# This cop supports safe autocorrection (--autocorrect).
Style/RedundantConstantBase:
  Exclude:
    - 'spec/graph_matching/integer_vertexes_spec.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SwapValues:
  Exclude:
    - 'lib/graph_matching/algorithm/mcm_general.rb'