grantjenks / blue

The slightly less uncompromising Python code formatter.
https://blue.readthedocs.io/
Other
387 stars 21 forks source link

Upgrade dependency on black to 22.1.0 #67

Closed refi64 closed 2 years ago

refi64 commented 2 years ago

Closes #63.

I'm not entirely sure is there's a usual pattern for handling updates to this, but all the unit tests seem to pass & I've successfully tested it on a local project.

refi64 commented 2 years ago

...err, it worked on my local project, and proceeded to switch the single quotes to double quotes :sweat_smile: I'm guessing maybe it's because it's using the mypyc wheels?

refi64 commented 2 years ago

Should be fixed now from my local testing!

rotten commented 2 years ago

This should let us do -tpy310 as well. Blue currently fails to recognize the new match syntax in python 3.10 if you use the -tpy39 flag.