usgo / agagd

American Go Association Games Database (AGAGD)
https://agagd.usgo.org
MIT License
47 stars 30 forks source link

fix: fix black pre-commit hook import error #250

Closed abaisero closed 2 years ago

abaisero commented 2 years ago

Problem: Older versions of black were (for some reason) importing internal modules from the click package. Recent internal updates to the click package now cause black to fail (see https://github.com/psf/black/issues/2964).

Solution: Two approaches exist. Either fix the version of click to a previous version, or update the version of black. This commit updates the version of black, and reruns black on all files.

abaisero commented 2 years ago

This pull request should also fix the failed lint / pre-commit github-actions job.