Category "pre-commit.com"

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

Ignoring Django Migrations in pyproject.toml file for Black formatter

I just got Black and Pre-Commit set up for my Django repository. I used the default config for Black from the tutorial I followed and it's been working great,

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

Can I ignore flake8 errors by passing a git commit flag?

I have aflake8:check todo pre-commit hook, which I want to ignore for now. I can ignore everything if I git commit --no-verify but I do want all other hooks to

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

Pre-commit does not allow GPG code-signing?

We sign each commit with GPG2 for security purposes. Usually this involves a full-terminal-window "popup" asking you to enter a password after running git commi

How to uninstall pre-commit

Following the "non administrative installation" instructions on Pre-Commit's website, I ran the following command: curl http://pre-commit.com/install-local.py