dragonfly/.pre-commit-config.yaml
iko1 19783face5
feat(json): support JSON.GET pretty print options (#1832)
* parse json.get pretty print options

Signed-off-by: iko1 <me@remotecpp.dev>

* finalize json.get sub args
* set indent size to 1 & add unit tests cases

---------

Signed-off-by: iko1 <me@remotecpp.dev>
2023-09-24 17:40:13 +03:00

33 lines
721 B
YAML

default_stages: [commit]
exclude: |
(?x)(
src/redis/.* |
contrib/charts/dragonfly/ci/.* |
patches/.*
)
repos:
- repo: local
hooks:
- id: conventional-commits
name: Conventional Commit Minder
entry: contrib/scripts/conventional-commits
language: script
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
hooks:
- id: clang-format
name: Clang formatting
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black