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 dev dependencies/scripts are broken #648

Closed
Justin-W opened this issue Nov 24, 2021 · 0 comments · Fixed by #650
Closed

Rubocop dev dependencies/scripts are broken #648

Justin-W opened this issue Nov 24, 2021 · 0 comments · Fixed by #650
Assignees

Comments

@Justin-W
Copy link
Contributor

Issue Details

The upgrade to ruby 2.7 (see PR #634) seems to have broken the repository's rubocop scripts.

The root cause seems to be rubocop/rubocop/issues/6621, which was fixed by rubocop/rubocop/pull/6470, which is apparently included in rubocop v0.62.0 (and possibly in rubocop v0.61.0).

Also, note that v0.62 is almost 3 years old now, and the latest release is rubocop v1.23.0. So it may be better to upgrade to a more recent release (than v0.62).

Logs (Please redact all sensitive information in your logs)

% rubocop
unknown keywords: :whitelist_classes, :whitelist_symbols

Repro steps (if necessary, delete otherwise)

  1. Followed the env setup instructions in 'docs/development.md'.
  2. run rubocop or pushd 'src/bosh_azure_cpi' ; ./bin/rubocop_check ; popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants