.rubocop_todo.yml in pwn-0.4.615 vs .rubocop_todo.yml in pwn-0.4.616
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2023-01-12 23:49:41 UTC using RuboCop version 1.43.0.
+# on 2023-03-07 16:56:25 UTC using RuboCop version 1.48.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.
@@ -15,55 +15,61 @@
- 'packer/provisioners/beef.rb'
- 'packer/provisioners/metasploit.rb'
- 'packer/provisioners/wpscan.rb'
- 'vagrant/provisioners/beef.rb'
-# Offense count: 268
+# Offense count: 270
Lint/UselessAssignment:
Enabled: false
-# Offense count: 629
+# Offense count: 631
Lint/UselessRescue:
Enabled: false
-# Offense count: 270
-# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
+# Offense count: 271
+# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 328
-# Offense count: 68
-# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Offense count: 69
+# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 196
-# Offense count: 46
+# Offense count: 47
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
-# Offense count: 97
-# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Offense count: 1
+# Configuration parameters: LengthThreshold.
+Metrics/CollectionLiteralLength:
+ Exclude:
+ - 'lib/pwn/plugins/uri_scheme.rb'
+
+# Offense count: 98
+# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 231
-# Offense count: 492
-# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Offense count: 493
+# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 466
# Offense count: 49
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 1186
-# Offense count: 89
-# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Offense count: 90
+# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 51
-# Offense count: 165
+# Offense count: 166
Style/ClassVars:
Enabled: false
# Offense count: 285
# This cop supports safe autocorrection (--autocorrect).
@@ -100,16 +106,16 @@
- 'lib/pwn/sast/php_type_juggling.rb'
- 'lib/pwn/sast/port.rb'
- 'lib/pwn/sast/redos.rb'
- 'vagrant/provisioners/kali_customize.rb'
-# Offense count: 45
+# Offense count: 46
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SlicingWithRange:
Enabled: false
-# Offense count: 575
+# Offense count: 579
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 1620