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
"Black would make changes" (flake8-black?) #1769
Comments
|
Yes, we recently added Add a You can add other codes listed in https://pypi.org/project/flake8-black/ if you'd like. Then you need to tell Hound about your Flake8 config by adding it to as documented here http://help.houndci.com/en/articles/2138537-flake8 Hope this helps! |
|
@gylaz Thanks for the info! Do you know if there's a way to figure out what |
|
I'm not sure if there's a way, but unfortunately, I don't have Python expertise and https://pypi.org/project/flake8-black/ is all I referenced for this issue. |
|
I end up just disabling it because it complains about a perfectly fine line of code status_callback = config.get('services.relay.{}.callbackUrl'.format(provider_name), None)It wants me to use double quotes? |
|
Closing now since it's clear how to avoid that @houndci-bot posts these comments. |
|
Black needs a separate config (see their docu) and most prominent issues are line length (doesn't pick up the flake8 param as it seems) and quote unification |
|
@Flamefire It looks like at the time when Hound made that comment, your flake8 config did not ignore the Black rule yet: https://github.com/easybuilders/easybuild-easyblocks/blob/b08d137aeb2b02b4ddb9cd75beea0fa11bf6575c/setup.cfg |
|
I don't understand. The comment is from yesterday, easybuilders/easybuild-easyblocks#1923 which added the ignore was merged 2 days ago. |
|
This works for me: it-projects-llc/svalka@37ff94c#diff-161c65d438d330a5a8428782bb4340e0 (I use organization-wide config: https://github.com/it-projects-llc/svalka/blob/d3873ded77e105d37d8b2909c34457ccbca4f74f/.hound.yml#L21-L23 ) |
|
@Flamefire The branch used in easybuilders/easybuild-easyblocks#1901 was not synced with |
|
Ah ok, understood. Thanks! |
|
I had a breakpoint in my code. Took it out, and then a line-number showed up. |
boegel commentedJan 9, 2020
@houndci-bot posted a puzzling comment in a recent PR in our (Python) repo: https://github.com/easybuilders/easybuild-framework/pull/3156/files#r364740161
It looks like this is coming from flake8-black, but the comment is pretty useless (that's putting it mildly).
Is there a way to make the comment more meaningful?
Is
flake8-blacknow enabled by default in Hound CI? Can it be disabled?The text was updated successfully, but these errors were encountered: