-
Notifications
You must be signed in to change notification settings - Fork 55
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
incompatible with black v22.1.0 ? #264
Comments
Can comfirm with my project action
|
This will be fixed in #270. |
is there some workaround in the meanwhile? |
I just pin black as a work-a-round:
|
I'm not sure that it would work with the github action. Do you put it in |
The github action still doesn't work on master though:
|
@mayk0gan I think it still clones the last release when building the image even though the action "recipe" comes from |
It still failed with a @1.4.0 to specify 1.4.0, thats odd.
|
@foxwhite25 the action has a version setting that defaults to 1.3.2 you probably need to explicitly set that to 1.4.0 https://github.com/akaihola/darker/blob/master/action.yml#L18 |
Thanks @mayk0gan @foxwhite25 @jenshnielsen, I'll look into this soon. Is this the same as #260? |
I have set it with the following config which seems to work fine.
|
As mentioned in @260. The action file still sets |
I made this:
to always compare with master ;) |
@jedie I originally started with |
Try to remove fetch master, see: akaihola/darker#264 (comment)
Hm. Interesting: I use Think the fetch is needed. But let's try it: boxine/django-huey-monitor#85 https://github.com/boxine/django-huey-monitor/actions/runs/1828419972 |
black changed the return value of find_project_root() here: psf/black@521d1b8#diff-1a5882c84fe4b3f18199a3e021822c1ea4bdc3f86952ea450c4db15d9387c7c3
It's not a tuple :(
The text was updated successfully, but these errors were encountered: