[opensuse-web] [OSEM] Hound ci comments before commit/PR

Hey all, how can we see the style violations before we commit or send a pull request? Thanks, Stella -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org

Hey, On 19.05.2014 13:46, differentreality wrote:
how can we see the style violations before we commit or send a pull request?
I think hound only works on pull-requests. So you can't. What's the problem with fixing them afterward? :-) Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org

On 05/19/2014 03:52 PM, Henne Vogelsang wrote:
Hey,
On 19.05.2014 13:46, differentreality wrote:
how can we see the style violations before we commit or send a pull request?
I think hound only works on pull-requests. So you can't. What's the problem with fixing them afterward? :-)
My phone's "biff" ringing like crazy and my "unread mails" counter reaching three digits in two hours? :-P Cheers. PS.- For the young ones http://en.wikipedia.org/wiki/Biff -- Ancor González Sosa openSUSE Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org

On Monday 19 May 2014 14:46:33 differentreality wrote:
how can we see the style violations before we commit or send a pull request?
Hound internally uses Rubocop (https://github.com/bbatsov/rubocop), which you can also run locally. I haven't tried it, but I think it should work. -- Cornelius Schumacher <cschum@suse.de> -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
participants (4)
-
Ancor Gonzalez Sosa
-
Cornelius Schumacher
-
differentreality
-
Henne Vogelsang