.rubocop_todo.yml in pwn-0.4.419 vs .rubocop_todo.yml in pwn-0.4.421
- old
+ new
@@ -1,76 +1,83 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2022-02-28 16:41:22 UTC using RuboCop version 1.25.1.
+# on 2022-05-08 06:06:43 UTC using RuboCop version 1.29.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: 225
+# Offense count: 227
Lint/UselessAssignment:
Enabled: false
-# Offense count: 258
+# Offense count: 246
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 328
-# Offense count: 58
+# Offense count: 60
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 194
-# Offense count: 43
+# Offense count: 45
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
-# Offense count: 81
+# Offense count: 83
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 231
-# Offense count: 446
+# Offense count: 440
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 466
-# Offense count: 36
+# Offense count: 33
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 1186
-# Offense count: 91
+# Offense count: 75
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 51
-# Offense count: 159
+# Offense count: 161
Style/ClassVars:
Enabled: false
-# Offense count: 297
-# Cop supports --auto-correct.
+# Offense count: 281
+# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Enabled: false
# Offense count: 2
-# Cop supports --auto-correct.
+# This cop supports safe auto-correction (--auto-correct).
Style/ExplicitBlockArgument:
Exclude:
- 'lib/pwn/plugins/nmap_it.rb'
-# Offense count: 42
-# Cop supports --auto-correct-all.
+# Offense count: 95
+# This cop supports safe auto-correction (--auto-correct).
+Style/RedundantCondition:
+ Exclude:
+ - 'bin/pwn_simple_http_server'
+ - 'lib/pwn/plugins/packet.rb'
+
+# Offense count: 44
+# This cop supports unsafe auto-correction (--auto-correct-all).
Style/SlicingWithRange:
Enabled: false
-# Offense count: 520
-# Cop supports --auto-correct.
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# Offense count: 531
+# This cop supports safe auto-correction (--auto-correct).
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 1620