Skip to content

Commit 951b3f0

Browse files
authored
Merge pull request #173 from sue445/feature/remove_MethodLength
Remove `.rubocop_todo.yml`
2 parents 56627dd + c8df973 commit 951b3f0

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.rubocop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
inherit_from: .rubocop_todo.yml
2-
31
AllCops:
42
TargetRubyVersion: 3.3
53
NewCops: enable
@@ -49,6 +47,9 @@ Metrics/ClassLength:
4947
Metrics/CyclomaticComplexity:
5048
Max: 13
5149

50+
Metrics/MethodLength:
51+
Max: 28
52+
5253
Metrics/PerceivedComplexity:
5354
Max: 11
5455

.rubocop_todo.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

_tools/patch_for_go_gem/patch_for_go_gem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def update_gem_name_c
125125
save_file(file_path: gem_name_c_path, content:)
126126
end
127127

128-
def update_extconf_rb
128+
def update_extconf_rb # rubocop:disable Metrics/MethodLength
129129
extconf_rb_path = File.join(ext_dir, "extconf.rb")
130130

131131
content = File.read(extconf_rb_path)

0 commit comments

Comments
 (0)