This message was deleted.
# ask-anything
s
This message was deleted.
w
Perfect, thanks very much!
🙇 1
Oh lol, just noticed the “doesn't work on Windows” part 🤣
🙃 1
🤣 1
Still good to know that this is the direction of the solution
e
@Willie Wheeler: I remember implementing the git hook and seeing some errors on github actions on windows but not locally. you might still wanna give it a try. if you encounter issues, let us know!
w
Ok great — I’ll do that and report back either way
I see what the errors are. Git is using Unix the path separator to invoke the hooks (resulting in path not found) and anyway the hooks are bash scripts. It seems I may be able to use WSL (Windows Subsystem for Linux) to overcome this. If so I’ll write it up and submit a docs PR
🙏 2
e
awesome, thanks!
w
I finally got around to trying this on Linux. One issue I’m having is that my repo has multiple projects, each with its own virtual env. So the virtual env is not at the same level as the .git dir. When I do the hook injection, ploomber wants me to run that from the top level. But when I commit, the hook can’t find ploomber because it’s a level in
I can just manually remove the injected params with the —remove option but thought I’d mention this in case others run into it
b
w
thanks. yep.
🙌 1
e
thanks for your feedback! we'll add this to our backlog 🙂