I'm trying to run
pre-commit run --all-files but I'm getting:
❯ pre-commit run --all-files [WARNING] The 'rev' field of repo 'https://github.com/OctoPrint/codemods' appears to be a mutable reference (moving tag / branch). Mutable references are never updated after first install and are not supported. See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details. Hint: `pre-commit autoupdate` often fixes this. [ERROR] `codemod_remove_float_conversion` is not present in repository https://github.com/OctoPrint/codemods. Typo? Perhaps it is introduced in a newer version? Often `pre-commit autoupdate` fixes this.
If I run
pre-commit autoupdate as suggested, it fixes the issue, but also next time I run the
run command, it will mess up all the files, as it updates all the hooks.
Any idea what the fix for this issue is? Sorry I'm not familiar with this tool