-
There are a few useful pre-commit hooks that should be run automatically on commit. They can be found in this example repository:
https://github.com/lorenzwalthert/precommit/blob/main/.pre-commit-h…
-
The `prettier` pre-commit hook has been [deprecated](https://github.com/pre-commit/pre-commit.com/pull/953) and the [repo](https://github.com/pre-commit/mirrors-prettier) has been archived since `pret…
-
**Describe the bug**
Pre-commit hook is ignored.
**To Reproduce**
Steps to reproduce the behavior:
1. `mkdir .githooks && git config --local core.hooksPath .githooks`
2. Create `.githooks/pre-c…
-
When using docstr-coverage with pre-commit and using `stages: [commit]` e.g.:
```
- repo: https://github.com/HunterMcGushion/docstr_coverage
rev: v2.3.2
hooks:
- id: docstr-cove…
-
Installation does not work (anymore) for me:
```
$ pre-commit install-hooks
[INFO] Initializing environment for https://github.com/tbroadley/spellchecker-cli.
[INFO] Installing environment for h…
-
Only after `ruff` is happy :)
https://github.com/pre-commit/pre-commit
-
```
git commit -am "Adding newlines"
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
…
-
Hi,
I'd like to use dotenv-linter as a pre commit hook, something like this
```
repos:
- repo: https://github.com/dotenv-linter/dotenv-linter
rev: 3.3.0
hooks:
- id: dote…
-
Let's add a git pre-commit hook that prevents folks from accidentally pushing secrets to Github.
Research/investigate what options there are and implement this.
-
### What happened?
Running the "format" pre-commit hook (which invokes `aspect run format`) causes errors when pre-commit passes through a file that is not declared to Bazel.
### Version
Deve…