pre-commit fails on windows
When modifying the example workflow I got following error message:
$ git commit -m 'folder data added to git'
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to C:\Users\pkiefer\.cache\pre-commit\patch1758794026-2188.
check for merge conflicts................................................Passed
check for added large files..............................................Passed
check python ast.....................................(no files to check)Skipped
trim trailing whitespace.................................................Passed
fix-notebook.............................................................Failed
- hook id: fix-notebook
- exit code: 1
Executable `venv/bin/python3` not found
check-spelling...........................................................Failed
- hook id: check-spelling
- exit code: 1
Executable `venv/bin/python3` not found
nbqa-black...........................................(no files to check)Skipped
- hook id: nbqa-black
[INFO] Restored changes from C:\Users\pkiefer\.cache\pre-commit\patch1758794026-2188.
(venv)
pkiefer@9410-FM2PK63 MINGW64 ~/Documents/gitlab_projects/emzed-example-workflow (2-provide-a-fast-example-version)
$ git status
On branch 2-provide-a-fast-example-version
Your branch is up to date with 'origin/2-provide-a-fast-example-version'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: .gitignore
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: example.ipynb
Untracked files:
(use "git add <file>..." to include in what will be committed)
filenames_demo.txt
I guess, this is due to me working on Windows platform and the pre-commit config file has to be adapted?