Category "pre-commit"

env: python3.9: No such file or directory

I have some python code formatters as git pre-commit hook and I have changed my python version as brew list | grep python [email protected] [email protected] brew unlink pyt

How to use this Git pre-commit hook

Yelp detect secrets is a system that prevents secrets from entering your code base. I would like to install the pre-commit hook it provides. I've never used Git

how to run pre-commit in angular 7?

when I run the git commit that time I need to run the ng lint --fix I tried with this. my package.json file image attached below: but it not working for me

black as pre-commit hook always fails my commits

I'm trying to use pre-commit to manage Black as a Git pre-commit hook, but I must be doing it wrong. In my pre-commit config file I have: - repo: https://gith

How to access commit message with Husky pre-commit hook?

My husky script: "husky": { "hooks": { "pre-commit": "sh ./tools/githooks/pre-commit.sh" } } Let's say I am doing a git commit -m "I want t

How to solve pre-commit asserttion error on ubuntu 22.04

I am using ubuntu 22.04 and the python version is 3.10.4. I have installed a Django project with the cookie-cutter. and now I have got an error when I want to c

Git pre-commit hooks only for a specific subfolder?

I currently have a single repo with two projects, each in their own subfolder: one in C# and one in Javascript. I want to have a pre-commit hook that will run j