houndci / hound

Automated code review for GitHub pull requests.
https://houndci.com
MIT License
1.95k stars 402 forks source link

inherit_gem configuration not supported by Hound? #1786

Open smridge opened 4 years ago

smridge commented 4 years ago

Error Message: Unable to find gem hl_ruby_style; is the gem installed? Gem::MissingSpecError

This was originally a private gem, found related error in https://github.com/houndci/hound/issues/1737#issuecomment-523973676https://github.com/houndci/hound/issues/1737%23issuecomment-523973676 . The gem was made public and published to ruby gems. I'm still encountering the same errors.

In .rubocop.yml

inherit_gem:
  hl_ruby_style:
    - default.yml

Perhaps there is a hound.yml setting? I couldn't seem to find hound.yml options, the closest I found was http://help.houndci.com/en/articles/2137566-rubocop . In attempt of "giving it a go", I tried:

rubocop:
  enabled: true
  version: 0.80.0
  inherit_gem:
    hl_ruby_style:
      - default.yml
  config_file: .rubocop.yml

and unfortunately no luck.

Another "give it a go" was creating a another gem with no _ or - to avoid any naming issues, and the same error occurred: Unable to find gem hlrubo; is the gem installed? Gem::MissingSpecError

I also tried:

inherit_from:
  - https://raw.githubusercontent.com/homelight/hlrubo/master/default.yml

and unfortunately no luck.

Does hound support inherit_gem? Does inherit_from support public external files?

EvNomad commented 4 years ago

Any news here?

smridge commented 4 years ago

I emailed their help/support and it is not supported.