If you're switching back to master
branch, run this first: pre-commit uninstall
cd backend
pre-commit install
pre-commit run --all-files
Check the branch working-example
to see that it can work if not in a directory
But need to run:
cd ..
pre-commit uninstall
git switch working-example
pre-commit install