cequel/cequel

View on GitHub
lib/cequel/metal/batch_manager.rb

Summary

Maintainability
A
0 mins
Test Coverage

Unnecessary utf-8 encoding comment.
Open

# -*- encoding : utf-8 -*-
Severity: Minor
Found in lib/cequel/metal/batch_manager.rb by rubocop

Add an empty line after magic comments.
Open

module Cequel
Severity: Minor
Found in lib/cequel/metal/batch_manager.rb by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

Extra blank line detected.
Open


      def current_batch=(batch)
Severity: Minor
Found in lib/cequel/metal/batch_manager.rb by rubocop

This cops checks for two or more consecutive blank lines.

Example:

# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method

# good
some_method
# one empty line
some_method

There are no issues that match your filters.

Category
Status