Output: Throws the CLI error - because use of tag-version is not compatible
An error has occurred: InvalidConfigError:
==> File .pre-commit-config.yaml
==> At Config()
==> At key: repos
==> At Repository(repo='https://github.com/rkotze/git-mob')
==> At key: rev
=====> Expected string got dict
Check the log at /Users/timrooke/.cache/pre-commit/pre-commit.log
Output: Throws the CLI error - because .pre-commit-hooks.yaml is not at the root level of the git-mob report
An error has occurred: InvalidManifestError:
=====> /Users/me/.cache/pre-commit/repoycrmzqj6/.pre-commit-hooks.yaml is not a file
Check the log at /Users/me/.cache/pre-commit/pre-commit.log
Steps to Reproduce
brew install pre-commit
Add a .pre-commit-config.yaml with one of the above configurations
Run pre-commit autoupdate (you may see the error in the CLI at this point)
git add . && git commit -m "Add some files"
The pre-commit hook errors as above
Expected behavior: [What you expect to happen]
Pre-commit hook to pass and append any git-mob users to the commit
Actual behavior: [What actually happens]
The pre-commit hook errors as above
Reproduces how often: [What percentage of the time does it reproduce?]
Every time
Versions
operating system and version: Mac (Apple Silicone); Monterey v12.6.2
Prerequisites
npm i -g git-mob
)brew upgrade git
if installed with Homebrew/Linuxbrew)Description
precommit
andgit-mob
together throws an errorThe example posted in the read me
Output: Throws the CLI error - because use of
tag-version
is not compatibleIf I solve this issue by pinning the version:
Output: Throws the CLI error - because
.pre-commit-hooks.yaml
is not at the root level of thegit-mob
reportSteps to Reproduce
brew install pre-commit
.pre-commit-config.yaml
with one of the above configurationspre-commit autoupdate
(you may see the error in the CLI at this point)git add . && git commit -m "Add some files"
Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
git --version
): 2.3.5Additional Information