pre-commit-config file should update black version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bootstack-charms-spec |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I've started a new project using the template that comes and when I try to commit appears this:
black..
- hook id: black
- exit code: 1
Traceback (most recent call last):
File "/home/
sys.
File "/home/
patch_click()
File "/home/
from click import _unicodefun # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/
Digging a little bit [0], I saw that a fix for that was released on Black 22.3.0. Versions before that won't work with click 8.1.0.
[0] https:/
This project is out of date and all active projects are migrate to github.