summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml7
-rw-r--r--Rakefile2
2 files changed, 1 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 533d31d..e636a8b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -45,13 +45,6 @@ Lint/RescueException:
- 'lib/nickserver/config.rb'
- 'lib/nickserver/couch/fetch_key.rb'
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: AllowUnusedKeywordArguments.
-Lint/UnusedBlockArgument:
- Exclude:
- - 'Rakefile'
-
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
diff --git a/Rakefile b/Rakefile
index c1eb913..3a207d5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -26,7 +26,7 @@ $spec = eval(File.read(File.join($base_dir, $spec_path)))
$gem_path = File.join($base_dir, 'pkg', "#{$spec.name}-#{$spec.version}.gem")
def run(cmd)
- PTY.spawn(cmd) do |output, input, pid|
+ PTY.spawn(cmd) do |output, _input, _pid|
begin
while line = output.gets do
puts line