codeclimate/codeclimate-yaml

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage

Remove debugger entry point binding.pry(quiet: true, prompt: Pry::SIMPLE_PROMPT, output: $stdout).
Open

  binding.pry(quiet: true, prompt: Pry::SIMPLE_PROMPT, output: $stdout)
Severity: Minor
Found in Rakefile by rubocop

This cop checks for calls to debugger or pry.

Example:

# bad (ok during development)

# using pry
def some_method
  binding.pry
  do_something
end

Example:

# bad (ok during development)

# using byebug
def some_method
  byebug
  do_something
end

Example:

# good

def some_method
  do_something
end

Use %w or %W for an array of words.
Open

  t.libs = ["lib", "spec"]
Severity: Minor
Found in Rakefile by rubocop

This cop can check for array literals made up of word-like strings, that are not using the %w() syntax.

Alternatively, it can check for uses of the %w() syntax, in projects which do not want to include that syntax.

Configuration option: MinSize If set, arrays with fewer elements than this value will not trigger the cop. For example, a MinSize of 3 will not enforce a style on an array of 2 or fewer elements.

Example: EnforcedStyle: percent (default)

# good
%w[foo bar baz]

# bad
['foo', 'bar', 'baz']

Example: EnforcedStyle: brackets

# good
['foo', 'bar', 'baz']

# bad
%w[foo bar baz]

There are no issues that match your filters.

Category
Status