.rubocop_todo.yml in pwn-0.4.544 vs .rubocop_todo.yml in pwn-0.4.545
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2022-08-29 16:58:30 UTC using RuboCop version 1.35.1.
+# on 2022-09-23 22:54:28 UTC using RuboCop version 1.36.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,55 @@
- 'packer/provisioners/beef.rb'
- 'packer/provisioners/metasploit.rb'
- 'packer/provisioners/wpscan.rb'
- 'vagrant/provisioners/beef.rb'
-# Offense count: 264
+# Offense count: 265
Lint/UselessAssignment:
Enabled: false
-# Offense count: 264
+# Offense count: 266
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 328
-# Offense count: 68
+# Offense count: 71
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 196
-# Offense count: 44
+# Offense count: 46
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
-# Offense count: 94
+# Offense count: 96
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 231
-# Offense count: 482
+# Offense count: 484
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 466
-# Offense count: 47
+# Offense count: 48
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 1186
-# Offense count: 86
+# Offense count: 88
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 51
-# Offense count: 162
+# Offense count: 164
Style/ClassVars:
Enabled: false
-# Offense count: 284
+# Offense count: 285
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Enabled: false
@@ -74,10 +74,16 @@
Exclude:
- 'lib/pwn/plugins/nmap_it.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
+Style/IfUnlessModifier:
+ Exclude:
+ - 'lib/pwn/plugins/baresip.rb'
+
+# Offense count: 1
+# This cop supports safe autocorrection (--autocorrect).
Style/RedundantBegin:
Exclude:
- 'bin/pwn_www_uri_buster'
# Offense count: 95
@@ -85,15 +91,15 @@
Style/RedundantCondition:
Exclude:
- 'bin/pwn_simple_http_server'
- 'lib/pwn/plugins/packet.rb'
-# Offense count: 43
+# Offense count: 45
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SlicingWithRange:
Enabled: false
-# Offense count: 570
+# Offense count: 577
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 1620