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

Rubocop cleanup take 2 #752

Closed
wants to merge 8 commits into from
Closed

Conversation

magni-
Copy link
Contributor

@magni- magni- commented Apr 2, 2016

WIP following #749 and #750

Repasting my comment from #749 here:

As for the disable comments, what do you suggest? IMO it's better to not disable checks for an entire file for known false positives, but rather to disable the individual bits where those false positives are, in order to prevent true Rubocop offenses from getting added to those files.

The set_transaction_id offense is subjective - I could rename it to transaction_id= (I explained why I didn't in the commit message). But the Alias false positive is an issue with Rubocop not parsing the instance_eval blocks properly. Making Rubocop happy for that case would actually end up breaking things.

Tests should fail, since I still need to look at the failures from #749

@jaredbeck
Copy link
Member

Thanks Paul, but, per my comment in #749, I was hoping we could break this up into smaller chunks, to make discussing some of the more controversial stuff easier? Do you mind closing this and doing a few smaller PRs? In addition to making discussion easier, it should also help with getting the test suite to pass. Thanks.

@magni-
Copy link
Contributor Author

magni- commented Apr 4, 2016

Ah my bad, I misunderstood that comment. As for the failures, they're all from AR 3 builds, from the change made in f6e846b. I didn't have time to investigate this weekend but will be looking at this today.

I'll strip out that commit for now while I look into why AR 3 didn't like that change.

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

Successfully merging this pull request may close these issues.

2 participants