During pre-commit, black fails with ImportError: cannot import name '_unicodefun' from 'click'.
This is a known error and can be fixed by installing the latest version of black (https://stackoverflow.com/questions/71673404/importerror-cannot-import-name-unicodefun-from-click).
In .pre-commit-config.yaml, black is set to 21.8b0. Does this happen to others? @ninamiolane. Is it possible not to set the version here, so that the latest version gets installed?
During pre-commit, black fails with
ImportError: cannot import name '_unicodefun' from 'click'
. This is a known error and can be fixed by installing the latest version of black (https://stackoverflow.com/questions/71673404/importerror-cannot-import-name-unicodefun-from-click). In.pre-commit-config.yaml
, black is set to21.8b0
. Does this happen to others? @ninamiolane. Is it possible not to set the version here, so that the latest version gets installed?