compSPI / ioSPI

I/O and Data Visualization
MIT License
4 stars 7 forks source link

During pre-commit, black fails #87

Closed bongjinkoo closed 2 years ago

bongjinkoo commented 2 years ago

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?

ninamiolane commented 2 years ago

Good catch! Could you try 22.3.0 @bongjinkoo

This is the version used here and it seems to work.

bongjinkoo commented 2 years ago

Yes, I did and it works. Do I set this version in the config file then?

bongjinkoo commented 2 years ago

Done.

ninamiolane commented 2 years ago

Fantastic, thank you!