Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #12264 - regenerating .rubocop_todo.yml to remove warnings #5544

Merged
merged 1 commit into from Nov 16, 2015
Merged

fixes #12264 - regenerating .rubocop_todo.yml to remove warnings #5544

merged 1 commit into from Nov 16, 2015

Conversation

komidore64
Copy link
Contributor

Foreman has Rubocop's version pinned to 0.28.0. At some point
it seems that we generated a .rubocop_todo.yml for 0.30.x which has a
different set of cops than 0.28.0. This was causing our Rubocop runs to
throw warnings about unknown cops. It hasn't caused any problems, other
than simply being annoying.

In this commit, I've regenerated .rubocop_todo.yml so that it's been
generated by 0.28.0. This should remove those pesky 'unrecognized cops'
errors.

# Offense count: 586
# Offense count: 1
Lint/UselessAssignment:
Enabled: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I probably would fix the one error rather than disable this cop.

@daviddavis
Copy link
Contributor

It also looks like Style/SpaceAroundOperators was disabled. Would be nice to reenable that.

3e035bf#diff-74423563ec7c74f4cb7f74689b49e7c1R137

@komidore64
Copy link
Contributor Author

@daviddavis okay cool. i'll address your comments. thanks!

@daviddavis
Copy link
Contributor

APJ + commit squash.

Foreman has Rubocop's version pinned to 0.28.0. At some point
it seems that we generated a `.rubocop_todo.yml` for 0.30.x which has a
different set of cops than 0.28.0. This was causing our Rubocop runs to
throw warnings about unknown cops. It hasn't caused any problems, other
than simply being annoying.

In this commit, I've regenerated `.rubocop_todo.yml` so that it's been
generated by 0.28.0. This should remove those pesky 'unrecognized cops'
errors.
@komidore64
Copy link
Contributor Author

@daviddavis squashed

@daviddavis
Copy link
Contributor

ACK

daviddavis added a commit that referenced this pull request Nov 16, 2015
fixes #12264 - regenerating .rubocop_todo.yml to remove warnings
@daviddavis daviddavis merged commit 003895d into Katello:master Nov 16, 2015
@komidore64 komidore64 deleted the rubocop_todo_replace branch November 16, 2015 19:12
@komidore64
Copy link
Contributor Author

thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants