.rubocop_todo.yml in arxutils_sqlite3-0.1.61 vs .rubocop_todo.yml in arxutils_sqlite3-0.1.63

- old
+ new

@@ -1,56 +1,105 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-10-01 01:21:06 UTC using RuboCop version 1.36.0. +# on 2024-02-06 17:26:13 UTC using RuboCop version 1.60.2. # 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: 3 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. +# Include: **/*.gemfile, **/Gemfile, **/gems.rb +Bundler/OrderedGems: + Exclude: + - 'Gemfile' + # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth. +# SupportedStyles: case, end +Layout/CaseIndentation: + Exclude: + - 'lib/arxutils_sqlite3/migrate.rb' + +# Offense count: 2 +# This cop supports safe autocorrection (--autocorrect). +Layout/ElseAlignment: + Exclude: + - 'lib/arxutils_sqlite3/arx.rb' + - 'lib/arxutils_sqlite3/hier.rb' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Exclude: - 'lib/dbacrecord.rb' +# Offense count: 3 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyleAlignWith, Severity. +# SupportedStylesAlignWith: keyword, variable, start_of_line +Layout/EndAlignment: + Exclude: + - 'lib/arxutils_sqlite3/arx.rb' + - 'lib/arxutils_sqlite3/hier.rb' + - 'lib/arxutils_sqlite3/migrate.rb' + # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Layout/HeredocIndentation: Exclude: - 'db/migrate/050_create_currentxenoplist.rb' -# Offense count: 1 +# Offense count: 3 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns. +# Configuration parameters: Width, AllowedPatterns. Layout/IndentationWidth: Exclude: + - 'lib/arxutils_sqlite3/arx.rb' + - 'lib/arxutils_sqlite3/hier.rb' - 'lib/dbacrecord.rb' -# Offense count: 4 -# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowInHeredoc. +Layout/TrailingWhitespace: + Exclude: + - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb' + +# Offense count: 2 +# This cop supports unsafe autocorrection (--autocorrect-all). +Lint/RedundantRequireStatement: + Exclude: + - 'exe/arxutils_sqlite3' + - 'lib/arxutils_sqlite3/migrate.rb' + +# Offense count: 3 +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: - Max: 23 + Max: 22 # Offense count: 3 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 190 # Offense count: 12 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 49 # Offense count: 3 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: Max: 7 # Offense count: 1 -# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. +# Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 10 # Offense count: 11 # Configuration parameters: AllowedNames. @@ -72,36 +121,38 @@ # Offense count: 1 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 11 -# Offense count: 5 +# Offense count: 8 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'db/migrate/010_create_countdatetime.rb' - 'db/migrate/020_create_xenop.rb' - 'db/migrate/030_create_xenoplist.rb' - 'db/migrate/040_create_invalidxenoplist.rb' - 'db/migrate/050_create_currentxenoplist.rb' + - 'lib/dbacrecord.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns, IgnoredMethods. +# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns. # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: EnforcedStyle: unannotated -# Offense count: 7 +# Offense count: 8 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: - 'config/dbsetup.rb' + - 'config/opts.rb' - 'db/migrate/010_create_countdatetime.rb' - 'db/migrate/020_create_xenop.rb' - 'db/migrate/030_create_xenoplist.rb' - 'db/migrate/040_create_invalidxenoplist.rb' - 'db/migrate/050_create_currentxenoplist.rb' @@ -117,13 +168,43 @@ - 'db/migrate/010_create_countdatetime.rb' - 'db/migrate/020_create_xenop.rb' - 'db/migrate/030_create_xenoplist.rb' - 'db/migrate/040_create_invalidxenoplist.rb' -# Offense count: 4 +# Offense count: 1 # This cop supports safe autocorrection (--autocorrect). +Style/RedundantDoubleSplatHashBraces: + Exclude: + - 'lib/arxutils_sqlite3/migrate.rb' + +# Offense count: 126 +# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - - 'config/dbsetup.rb' - - 'lib/dbacrecord.rb' + - 'arxutils_sqlite3.gemspec' + - 'lib/arxutils_sqlite3.rb' + - 'lib/arxutils_sqlite3/arx.rb' + - 'lib/arxutils_sqlite3/cli.rb' + - 'lib/arxutils_sqlite3/config.rb' + - 'lib/arxutils_sqlite3/dbutil.rb' + - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb' + - 'lib/arxutils_sqlite3/hier.rb' + - 'lib/arxutils_sqlite3/migrate.rb' + - 'lib/arxutils_sqlite3/rake_task.rb' + - 'lib/arxutils_sqlite3/util.rb' + - 'lib/arxutils_sqlite3/version.rb' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyleForMultiline. +# SupportedStylesForMultiline: comma, consistent_comma, no_comma +Style/TrailingCommaInHashLiteral: + Exclude: + - 'lib/arxutils_sqlite3/migrate.rb' + +# Offense count: 2 +# This cop supports unsafe autocorrection (--autocorrect-all). +Style/ZeroLengthPredicate: + Exclude: + - 'lib/arxutils_sqlite3/hier.rb'