python-best-practices-cookiecutter icon indicating copy to clipboard operation
python-best-practices-cookiecutter copied to clipboard

Update Version of Black

Open rawrke opened this issue 2 years ago • 1 comments

Description

This cookiecutter template will generate a repository that uses black v20.8b1.

According to this issue, this version of black is not compatible with newer versions of click and will throw an error upon execution of black.

Recommendation

Updating the default black version to be 22.3.0 for this template.

rawrke avatar Apr 28 '22 13:04 rawrke

I second this. Fixing this by just adding black = "==22.3.0" to dev-packages worked for me. I'll add a PR!

giovannivignone avatar Dec 31 '22 19:12 giovannivignone