The hook `black` requires pre-commit version 2.9.2 but version 2.6.0 is installed
The hook `black` requires pre-commit version 2.9.2 but version 2.6.0 is installed Question: I am having trouble with pre-commit and black. Everything worked fine until I cleared the cache with pre-commit clean. Now I always get the error The hook black requires pre-commit version 2.9.2 but version 2.6.0 is installed. Perhaps run `pip install –upgrade …