coiled / dask-snowflake

Dask integration for Snowflake
BSD 3-Clause "New" or "Revised" License
29 stars 7 forks source link

Update `pre-commit` hooks #28

Closed jrbourbeau closed 2 years ago

jrbourbeau commented 2 years ago

Avoids errors like

black....................................................................Failed
- hook id: black
- exit code: 1
Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/reponmziti_r/py_env-python3/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/home/runner/.cache/pre-commit/reponmziti_r/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 6606, in patched_main
    patch_click()
  File "/home/runner/.cache/pre-commit/reponmziti_r/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/reponmziti_r/py_env-python3/lib/python3.10/site-packages/click/__init__.py)

that we're currently seeing on main