frostfs-api/.pre-commit-config.yaml
Bruk Ori 3cb6553234
All checks were successful
Formatters / Run fmt (pull_request) Successful in 26s
DCO action / DCO (pull_request) Successful in 39s
Pre-commit hooks / Pre-commit (pull_request) Successful in 36s
[#68] Fix version linter.
Add additional description to compatibility linter.
Change the release name to reflect the new convention.
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
2024-10-23 14:40:41 +03:00

34 lines
953 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
exclude: ".svg$"
- repo: local
hooks:
- id: make-fmt
name: Run make fmt
entry: make fmt
language: system
pass_filenames: false
- id: make-check-version
name: Run make check-version
entry: make check-version
language: system
pass_filenames: false
- id: make-compatibility
name: Run make compatibility
entry: make compatibility
language: system
pass_filenames: false