Closed aleeusgr closed 2 years ago
I think this is something to do with being in a nix-shell. Have you tried this after doing e.g. nix-shell -p ormolu? You can commit with "--no-verify" if this doesn't work.
--no-verify
worked, thank you.
I could reproduce the issue by adding pre-commits to flake output. Maybe it happens because pre-commit-hooks are in ~ but not in current repo? I've no idea,
Describe the bug when trying to commit changes to the repo get and error:
'pre-commit' not found. Did you forget to activate your virtualenv?
To Reproduce fork the repo, clone locally, make changes, add then run
git commit -m 'message'
Expected behavior
git commit
should work as expectedEnvironment
Additional context Add any other context about the problem here.