Skip to content

Commit

Permalink
Simplify rubocop usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 9, 2019
1 parent e7d9517 commit 8e63c75
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -27,6 +27,7 @@ Metrics/AbcSize:

Metrics/BlockLength:
Max: 128
Enabled: false

Metrics/ClassLength:
Max: 128
Expand Down
1 change: 0 additions & 1 deletion spec/nio/bytebuffer_spec.rb
Expand Up @@ -2,7 +2,6 @@

require "spec_helper"

# rubocop:disable Metrics/BlockLength
RSpec.describe NIO::ByteBuffer do
let(:capacity) { 256 }
let(:example_string) { "Testing 1 2 3..." }
Expand Down
1 change: 0 additions & 1 deletion spec/nio/selector_spec.rb
Expand Up @@ -8,7 +8,6 @@
# the tests
TIMEOUT_PRECISION = 0.1

# rubocop:disable Metrics/BlockLength
RSpec.describe NIO::Selector do
let(:pair) { IO.pipe }
let(:reader) { pair.first }
Expand Down

0 comments on commit 8e63c75

Please sign in to comment.