You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discard inheritance lines from remote configuration files
Try to load inherited file from same URL address
So if file http://example.com/.rubocop.yml have inherit_from: .hound.yml try to load it from http://example.com/.hound.yml
Actual behavior
Started RuboCop with rubocop -d
For /home/zybortd: configuration from /home/zybortd/.rubocop.yml
Inheriting configuration from /home/zybortd/.rubocop-local.yml
configuration from /home/zybortd/.rubocop-https---raw-githubusercontent-com-crowbar-crowbar-master--hound-suse-yml
Default configuration from /home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/config/default.yml
Inheriting configuration from /home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/config/enabled.yml
Inheriting configuration from /home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/config/disabled.yml
configuration from /home/zybortd/.rubocop-https---raw-githubusercontent-com-crowbar-crowbar-master--hound-ruby-yml
Inheriting No such file or directory @ rb_sysopen - /home/zybortd/.hound.suse.yml
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:174:in `read'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:174:in `load_yaml_configuration'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:34:in `load_file'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:97:in `block in base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `map'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader_resolver.rb:21:in `resolve_inheritance'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:43:in `load_file'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:97:in `block in base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `map'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader_resolver.rb:21:in `resolve_inheritance'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:43:in `load_file'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:97:in `block in base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `map'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:85:in `base_configs'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader_resolver.rb:21:in `resolve_inheritance'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:43:in `load_file'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_loader.rb:113:in `configuration_from_file'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/config_store.rb:44:in `for'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/cli.rb:93:in `apply_default_formatter'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/lib/rubocop/cli.rb:25:in `run'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/bin/rubocop:13:in `block in <top (required)>'
/home/zybortd/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
/home/zybortd/.rvm/gems/ruby-2.3.3/gems/rubocop-0.48.1/bin/rubocop:12:in `<top (required)>'
/usr/local/bin/rubocop:22:in `load'
/usr/local/bin/rubocop:22:in `<main>'
/home/zybortd/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/home/zybortd/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Finished in 0.7120127960224636 seconds
Expected behavior
Two ideas (I have no preference):
So if file
http://example.com/.rubocop.yml
haveinherit_from: .hound.yml
try to load it fromhttp://example.com/.hound.yml
Actual behavior
Started RuboCop with
rubocop -d
Steps to reproduce the problem
In
~/.rubocop.yml
In
~/ .rubocop-local.yml
RuboCop version
The text was updated successfully, but these errors were encountered: