dask / dask-sphinx-theme

Sphinx theme for Dask documentation
BSD 3-Clause "New" or "Revised" License
6 stars 15 forks source link

Update `pre-commit` hooks #70

Closed jrbourbeau closed 2 years ago

jrbourbeau commented 2 years ago

This should fix the

 black....................................................................Failed
- hook id: black
- exit code: 1

Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/repor7rsy8v6/py_env-python3/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/home/runner/.cache/pre-commit/repor7rsy8v6/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 1282, in patched_main
    patch_click()
  File "/home/runner/.cache/pre-commit/repor7rsy8v6/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 1268, in patch_click
    from click import _unicodefun  # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repor7rsy8v6/py_env-python3/lib/python3.10/site-packages/click/__init__.py)

failure we're seeing on main

scharlottej13 commented 2 years ago

thank you @jrbourbeau!!