You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently our pre-commit Actions started failing (e.g. run 2054926695 and run 2055039571, with the culprit being the black formatter:
Trim Trailing Whitespace.................................................Passed
Mixed line ending........................................................Passed
Fix End of Files.........................................................Passed
Fix requirements.txt.....................................................Passed
Check Yaml...............................................................Passed
Check for added large files..............................................Passed
black....................................................................Failed
- hook id: black
- exit code: 1
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repo9b005yno/py_env-python3/bin/black", line 8, in <module>
sys.exit(patched_main())
File "/home/runner/.cache/pre-commit/repo9b005yno/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 6606, in patched_main
patch_click()
File "/home/runner/.cache/pre-commit/repo9b005yno/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 6595, in patch_click
from click import _unicodefun # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repo9b005yno/py_env-python3/lib/python3.10/site-packages/click/__init__.py)
This was also failing locally.
black released an update to fix this, we need to update to 22.3.0.
The text was updated successfully, but these errors were encountered:
thekaveman
added
bug
Something isn't working
chore
Chores and tasks for code cleanup, dev experience, admin/configuration settings, etc.
labels
Mar 29, 2022
Recently our
pre-commit
Actions started failing (e.g. run2054926695
and run2055039571
, with the culprit being theblack
formatter:This was also failing locally.
black
released an update to fix this, we need to update to22.3.0
.See psf/black#2964 for more context.
The text was updated successfully, but these errors were encountered: