diff options
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0cec116..6be520e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,12 +1,19 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-10-25 13:17:23 UTC using RuboCop version 1.22.2. +# on 2022-04-11 12:21:32 UTC using RuboCop version 1.22.3. # 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: 1 +# Configuration parameters: Include. +# Include: **/*.gemspec +Gemspec/RequiredRubyVersion: + Exclude: + - 'net-ssh.gemspec' + +# Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented @@ -79,7 +86,7 @@ Lint/DeprecatedClassMethods: Exclude: - 'lib/net/ssh/transport/packet_stream.rb' -# Offense count: 10 +# Offense count: 12 # Cop supports --auto-correct. Lint/DeprecatedOpenSSLConstant: Exclude: @@ -193,7 +200,7 @@ Lint/UnusedBlockArgument: - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/service/forward.rb' -# Offense count: 71 +# Offense count: 74 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: @@ -222,7 +229,7 @@ Lint/UselessTimes: Exclude: - 'test/integration/test_forward.rb' -# Offense count: 202 +# Offense count: 205 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 74 @@ -243,12 +250,12 @@ Metrics/BlockNesting: Metrics/ClassLength: Max: 488 -# Offense count: 37 +# Offense count: 38 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 32 -# Offense count: 229 +# Offense count: 232 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 72 @@ -263,7 +270,7 @@ Metrics/ModuleLength: Metrics/ParameterLists: MaxOptionalParameters: 4 -# Offense count: 32 +# Offense count: 34 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 32 @@ -439,7 +446,7 @@ Style/CaseEquality: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/connection/session.rb' -# Offense count: 2 +# Offense count: 3 # Cop supports --auto-correct. Style/CaseLikeIf: Exclude: @@ -776,7 +783,7 @@ Style/PerlBackrefs: - 'lib/net/ssh/proxy/socks5.rb' - 'test/integration/common.rb' -# Offense count: 14 +# Offense count: 15 # Cop supports --auto-correct. Style/Proc: Exclude: @@ -848,7 +855,7 @@ Style/RedundantRegexpEscape: - 'lib/net/ssh/config.rb' - 'lib/net/ssh/transport/cipher_factory.rb' -# Offense count: 86 +# Offense count: 87 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: @@ -925,6 +932,18 @@ Style/SingleLineMethods: Exclude: - 'lib/net/ssh/buffered_io.rb' +# Offense count: 11 +# Cop supports --auto-correct. +Style/SlicingWithRange: + Exclude: + - 'lib/net/ssh/authentication/ed25519.rb' + - 'lib/net/ssh/buffer.rb' + - 'lib/net/ssh/config.rb' + - 'lib/net/ssh/transport/algorithms.rb' + - 'lib/net/ssh/transport/packet_stream.rb' + - 'lib/net/ssh/transport/state.rb' + - 'test/transport/test_packet_stream.rb' + # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowModifier. @@ -971,7 +990,7 @@ Style/StringConcatenation: - 'test/test_buffer.rb' - 'test/test_key_factory.rb' -# Offense count: 1816 +# Offense count: 1846 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes |