pnkraemer / tueplots

Figure sizes, font sizes, fonts, and more configurations at minimal overhead. Fix your journal papers, conference proceedings, and other scientific publications.
https://tueplots.readthedocs.io
MIT License
675 stars 25 forks source link

Fix pre-commit error on buggy black version #106

Closed kianmeng closed 2 years ago

kianmeng commented 2 years ago

This resolves the error below:

ImportError: cannot import name '_unicodefun' from 'click'

See https://github.com/psf/black/issues/2964

Validation of fix:

pre-commit clean
pre-commit run --all-files

tox -e black
kianmeng commented 2 years ago

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face: