If your pre-commit hooks are failing due to a poetry and isort issue, you are not alone. Over the last few days, people have started complaining about an error in their pre-commit hooks when attemtping to install isort via poetry:
[INFO] Installing environment...