From 289a847c9dd1da6e43f86e9634bccf0bfb614eb7 Mon Sep 17 00:00:00 2001 From: Michael Glass Date: Tue, 12 Nov 2024 16:11:39 +0100 Subject: [PATCH] regenerate rubocop todo --- .rubocop_todo.yml | 290 +--------------------------------------------- 1 file changed, 2 insertions(+), 288 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2d04f5b..a7949fe 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,19 +1,11 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-11-12 15:02:11 UTC using RuboCop version 1.68.0. +# on 2024-11-12 15:11:26 UTC using RuboCop version 1.68.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: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. -# Include: **/*.gemspec -Gemspec/OrderedDependencies: - Exclude: - - 'rails_edge_test.gemspec' - # Offense count: 1 # Configuration parameters: Severity, Include. # Include: **/*.gemspec @@ -21,111 +13,6 @@ Gemspec/RequiredRubyVersion: Exclude: - 'rails_edge_test.gemspec' -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -Layout/EmptyLineAfterMagicComment: - Exclude: - - 'rails_edge_test.gemspec' - -# Offense count: 5 -# This cop supports safe autocorrection (--autocorrect). -Layout/EmptyLines: - Exclude: - - 'spec/rails_edge_test/configuration_spec.rb' - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/runner_spec.rb' - - 'spec/support/test_app/Gemfile' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: around, only_before -Layout/EmptyLinesAroundAccessModifier: - Exclude: - - 'lib/rails_edge_test.rb' - - 'lib/rails_edge_test/runner.rb' - -# Offense count: 5 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, no_empty_lines -Layout/EmptyLinesAroundBlockBody: - Exclude: - - 'lib/rails_edge_test/dsl.rb' - - 'lib/rails_edge_test/dsl/edge.rb' - - 'spec/rails_edge_test/configuration_spec.rb' - - 'spec/rails_edge_test/dsl_spec.rb' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -Layout/EmptyLinesAroundMethodBody: - Exclude: - - 'lib/rails_edge_test/printers/boring.rb' - -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. -Layout/ExtraSpacing: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/dsl/let_handler_spec.rb' - - 'spec/support/test_app/bin/setup' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -Layout/SpaceAfterComma: - Exclude: - - 'lib/rails_edge_test/dsl/edge.rb' - -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: space, no_space -Layout/SpaceAroundEqualsInParameterDefault: - Exclude: - - 'lib/rails_edge_test/dsl/edge.rb' - -# Offense count: 5 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals. -# SupportedStylesForExponentOperator: space, no_space -# SupportedStylesForRationalLiterals: space, no_space -Layout/SpaceAroundOperators: - Exclude: - - 'lib/rails_edge_test/dsl/edge.rb' - - 'lib/rails_edge_test/runner.rb' - - 'rails_edge_test.gemspec' - - 'spec/rails_edge_test/dsl/edge_spec.rb' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. -# SupportedStyles: space, no_space -# SupportedStylesForEmptyBraces: space, no_space -Layout/SpaceBeforeBlockBraces: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - -# Offense count: 36 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. -# SupportedStyles: space, no_space, compact -# SupportedStylesForEmptyBraces: space, no_space -Layout/SpaceInsideHashLiteralBraces: - Exclude: - - 'spec/rails_edge_test/configuration_spec.rb' - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/dsl/let_handler_spec.rb' - - 'spec/rails_edge_test/dsl_spec.rb' - - 'spec/support/test_app/app/controllers/application_controller.rb' - -# Offense count: 14 -# This cop supports safe autocorrection (--autocorrect). -Lint/DeprecatedClassMethods: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/runner_spec.rb' - # Offense count: 2 # Configuration parameters: AllowComments, AllowNil. Lint/SuppressedException: @@ -149,32 +36,6 @@ Metrics/BlockLength: Metrics/MethodLength: Max: 22 -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods. -# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces -# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object -# FunctionalMethods: let, let!, subject, watch -# AllowedMethods: lambda, proc, it -Style/BlockDelimiters: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/dsl/let_handler_spec.rb' - -# Offense count: 7 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: nested, compact -Style/ClassAndModuleChildren: - Exclude: - - 'lib/rails_edge_test/dsl/action.rb' - - 'lib/rails_edge_test/dsl/controller.rb' - - 'lib/rails_edge_test/dsl/edge.rb' - - 'lib/rails_edge_test/dsl/let_handler.rb' - - 'lib/rails_edge_test/printers/boring.rb' - - 'lib/rails_edge_test/printers/silent.rb' - - 'lib/rails_edge_test/printers/tree.rb' - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Keywords, RequireColon. @@ -198,66 +59,11 @@ Style/Documentation: - 'lib/rails_edge_test/printers/tree.rb' - 'lib/rails_edge_test/runner.rb' -# Offense count: 11 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AutoCorrect, EnforcedStyle. -# SupportedStyles: compact, expanded -Style/EmptyMethod: - Exclude: - - 'lib/rails_edge_test/printers/boring.rb' - - 'lib/rails_edge_test/printers/silent.rb' - - 'lib/rails_edge_test/printers/tree.rb' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -Style/Encoding: - Exclude: - - 'rails_edge_test.gemspec' - -# Offense count: 11 -# This cop supports safe autocorrection (--autocorrect). -Style/ExpandPathArguments: - Exclude: - - 'rails_edge_test.gemspec' - - 'spec/support/test_app/Rakefile' - - 'spec/support/test_app/bin/bundle' - - 'spec/support/test_app/bin/rails' - - 'spec/support/test_app/bin/rake' - - 'spec/support/test_app/bin/setup' - - 'spec/support/test_app/config.ru' - - 'spec/support/test_app/config/application.rb' - - 'spec/support/test_app/config/boot.rb' - - 'spec/support/test_app/config/environment.rb' - -# Offense count: 53 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: always, always_true, never -Style/FrozenStringLiteralComment: - Enabled: false - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. -Style/GuardClause: - Exclude: - - 'exe/generate_edges' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. -# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys -# SupportedShorthandSyntax: always, never, either, consistent, either_consistent -Style/HashSyntax: - Exclude: - - 'Rakefile' - -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'lib/rails_edge_test/dsl/edge.rb' - - 'lib/rails_edge_test/dsl/let_handler.rb' # Offense count: 2 Style/MixinUsage: @@ -265,101 +71,9 @@ Style/MixinUsage: - 'spec/support/test_app/edge/another_edge.rb' - 'spec/support/test_app/edge/example_edge.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: literals, strict -Style/MutableConstant: - Exclude: - - 'lib/rails_edge_test/version.rb' - -# Offense count: 14 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowedMethods. -# AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with -Style/NestedParenthesizedCalls: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/runner_spec.rb' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: PreferredDelimiters. -Style/PercentLiteralDelimiters: - Exclude: - - 'rails_edge_test.gemspec' - -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -Style/RedundantPercentQ: - Exclude: - - 'rails_edge_test.gemspec' - -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength. -# AllowedMethods: present?, blank?, presence, try, try! -Style/SafeNavigation: - Exclude: - - 'spec/rails_edge_test/dsl/edge_spec.rb' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -Style/SelfAssignment: - Exclude: - - 'spec/rails_edge_test/configuration_spec.rb' - -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: only_raise, only_fail, semantic -Style/SignalException: - Exclude: - - 'lib/rails_edge_test/dsl/edge.rb' - - 'lib/rails_edge_test/dsl/let_handler.rb' - -# Offense count: 4 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: Mode. -Style/StringConcatenation: - Exclude: - - 'lib/rails_edge_test/dsl/edge.rb' - - 'spec/rails_edge_test/dsl/edge_spec.rb' - - 'spec/rails_edge_test/dsl/let_handler_spec.rb' - -# Offense count: 182 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiterals: - Enabled: false - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: MinSize. -# SupportedStyles: percent, brackets -Style/SymbolArray: - EnforcedStyle: brackets - -# Offense count: 3 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments. -# AllowedMethods: define_method -Style/SymbolProc: - Exclude: - - 'lib/rails_edge_test/configuration.rb' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyleForMultiline. -# SupportedStylesForMultiline: comma, consistent_comma, no_comma -Style/TrailingCommaInArrayLiteral: - Exclude: - - 'spec/rails_edge_test/configuration_spec.rb' - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: - Max: 233 + Max: 231