Lb-dev causes errors when used with pre-commit hooks
This Issue follows a discussion on Mattermost, originally spotted by @anmorris in the Core Software channel .
Setting up a dev environment for DaVinci seems to be hindered at the moment:
lb-dev --nightly lhcb-head DaVinci/HEAD -c x86_64_v2-centos7-gcc12+detdesc-opt
cd ..
git lb-use DaVinci
git lb-checkout DaVinci/master Phys/DaVinci
which normally should work, results in errors related to the pre-commit hooks added by @erodrigu
ERROR:root:HookExecutionError: Hook('/lhcb/users/amorris/mooreStack/DaVinciDev_HEAD/.git/hooks/pre-commit') failed due to: exit code(1)
cmdline: /lhcb/users/amorris/mooreStack/DaVinciDev_HEAD/.git/hooks/pre-commit
stdout: '[INFO] Initializing environment for https://github.com/pycqa/flake8.
[output then becomes very verbose and continues for a long time]