pre-commit hook break git commits and are disruptive. Therefore people that want to enable this feature, should enable it locally instead. I.e. treefmt will also check untracked files that are not meant for the current commit.
cache should work now and speeds up things
if mypy fails we don't know why
This saves one flake input and some python dependencies