sgmap/boussole

View on GitHub
lib/tasks/data.rake

Summary

Maintainability
Test Coverage

Unnecessary utf-8 encoding comment.
Open

# encoding: utf-8
Severity: Minor
Found in lib/tasks/data.rake by rubocop

%i-literals should be delimited by [ and ].
Open

  multitask migrate: %i(nulify_emails generate_slugs add_response_time migrate_social_rights create_criteria)
Severity: Minor
Found in lib/tasks/data.rake by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

There are no issues that match your filters.

Category
Status