-
Notifications
You must be signed in to change notification settings - Fork 567
Closed
Description
- hook id: black
- exit code: 1
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repohp3yjl3l/py_env-python3.10/bin/black", line 8, in <module>
sys.exit(patched_main())
File "/home/runner/.cache/pre-commit/repohp3yjl3l/py_env-python3.10/lib/python3.10/site-packages/black/__init__.py", line 1423, in patched_main
patch_click()
File "/home/runner/.cache/pre-commit/repohp3yjl3l/py_env-python3.10/lib/python3.10/site-packages/black/__init__.py", line 1409, in patch_click
from click import _unicodefun
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repohp3yjl3l/py_env-python3.10/lib/python3.10/site-packages/click/__init__.py)
Looks like the recommended fix is to upgrade black, since they have a new version to fix this:
psf/black#2964
I'll do that shortly.
Metadata
Metadata
Assignees
Labels
No labels