You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running make install installs pre-commit hooks, but they stop working later.
This seems to be because of a bad interaction between pipx and pre-commit:
pipx run creates a temporary virtualenv in a cache dir which expires after a few days
pre-commit creates .git/hooks/pre-commit with INSTALL_PYTHON set to the python that was used to install it
in this case that is a pipx cache folder, ~/.local/pipx/.cache/ab0998f0ed2c232/bin/python
I'm not sure how to solve this yet. For the project template we could install pre-commit using the Python in backend/.venv, but that doesn't help for the frontend template.
Running
make install
installs pre-commit hooks, but they stop working later.This seems to be because of a bad interaction between pipx and pre-commit:
I'm not sure how to solve this yet. For the project template we could install pre-commit using the Python in backend/.venv, but that doesn't help for the frontend template.
(Reported in https://community.plone.org/t/pre-commit-not-found-error-when-attempting-to-commit-code-with-cookieplone-based-setup-solved/20192)
The text was updated successfully, but these errors were encountered: