Skip to content
Open
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
62 changes: 23 additions & 39 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,76 +1,52 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-12-30 04:27:41 UTC using RuboCop version 1.7.0.
# on 2021-01-03 08:54:57 UTC using RuboCop version 1.7.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
# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/audioinfo.rb'
- 'lib/audioinfo/album.rb'

# Offense count: 1
Lint/RescueException:
Exclude:
- 'lib/audioinfo.rb'

# Offense count: 1
Lint/ShadowedException:
Exclude:
- 'lib/audioinfo.rb'

# Offense count: 2
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/audioinfo.rb'

# Offense count: 1
# Configuration parameters: AllowComments.
Lint/SuppressedException:
Exclude:
- 'lib/audioinfo.rb'

# Offense count: 5
# Offense count: 3
Lint/UselessAssignment:
Exclude:
- 'lib/audioinfo.rb'
- 'lib/audioinfo/mpcinfo.rb'

# Offense count: 7
# Offense count: 10
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 177
Max: 166

# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 322
Max: 128

# Offense count: 4
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 29
Max: 14

# Offense count: 8
# Offense count: 16
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 117
Max: 70

# Offense count: 4
# Offense count: 3
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 24
Max: 16

# Offense count: 6
# Offense count: 5
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/audioinfo.rb'
- 'lib/audioinfo/mpcinfo.rb'

# Offense count: 1
Expand All @@ -84,27 +60,35 @@ Naming/PredicateName:
- 'spec/**/*'
- 'lib/audioinfo.rb'

# Offense count: 4
# Offense count: 13
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/audioinfo.rb'
- 'lib/audioinfo/album.rb'
- 'lib/audioinfo/ape.rb'
- 'lib/audioinfo/audio_file.rb'
- 'lib/audioinfo/case_insensitive_hash.rb'
- 'lib/audioinfo/flac.rb'
- 'lib/audioinfo/mp3.rb'
- 'lib/audioinfo/mp4.rb'
- 'lib/audioinfo/mpc.rb'
- 'lib/audioinfo/mpcinfo.rb'
- 'lib/audioinfo/ogg.rb'
- 'lib/audioinfo/wav.rb'
- 'lib/audioinfo/wma.rb'

# Offense count: 4
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
EnforcedStyle: unannotated

# Offense count: 8
# Offense count: 9
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/audioinfo.rb'
- 'lib/audioinfo/album.rb'
- 'lib/audioinfo/mpcinfo.rb'

Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ GEM
wavefile (0.6.0)

PLATFORMS
ruby
universal-java-1.8
x86_64-darwin-20
x86_64-linux
Expand Down
Loading