.rubocop_todo.yml in pwn-0.5.67 vs .rubocop_todo.yml in pwn-0.5.68

- old
+ new

@@ -1,8 +1,8 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-03-25 22:25:57 UTC using RuboCop version 1.62.1. +# on 2024-03-26 16:48:38 UTC using RuboCop version 1.62.1. # 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. @@ -33,10 +33,16 @@ - 'lib/pwn/reports/phone.rb' - 'lib/pwn/reports/sast.rb' - 'lib/pwn/reports/uri_buster.rb' - 'lib/pwn/sast/banned_function_calls_c.rb' +# Offense count: 7 +# Configuration parameters: AllowedMethods, AllowedPatterns. +Lint/NestedMethodDefinition: + Exclude: + - 'lib/pwn/plugins/repl.rb' + # Offense count: 311 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AutoCorrect. Lint/UselessAssignment: Enabled: false @@ -86,10 +92,18 @@ - 'lib/pwn/plugins/nessus_cloud.rb' - 'lib/pwn/plugins/ollama.rb' - 'lib/pwn/plugins/open_ai.rb' - 'lib/pwn/plugins/packet.rb' +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: prefer_alias, prefer_alias_method +Style/Alias: + Exclude: + - 'lib/pwn/plugins/monkey_patch.rb' + # Offense count: 160 Style/ClassVars: Enabled: false # Offense count: 278 @@ -103,15 +117,14 @@ # This cop supports safe autocorrection (--autocorrect). Style/ExplicitBlockArgument: Exclude: - 'lib/pwn/plugins/nmap_it.rb' -# Offense count: 3 +# Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - - 'bin/pwn' - 'lib/pwn/plugins/baresip.rb' - 'lib/pwn/plugins/mail_agent.rb' # Offense count: 94 # This cop supports safe autocorrection (--autocorrect). @@ -131,20 +144,5 @@ # Offense count: 51 # This cop supports unsafe autocorrection (--autocorrect-all). Style/SlicingWithRange: Enabled: false - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowModifier. -Style/SoleNestedConditional: - Exclude: - - 'bin/pwn' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiterals: - Exclude: - - 'bin/pwn'