serenity/.pre-commit-config.yaml
Linus Groh c9ae684eb8 Meta: Migrate deprecated pre-commit stage names
> [WARNING] hook id `meta-lint-ci` uses deprecated stage names (commit)
> which will be removed in a future version.
> run: `pre-commit migrate-config` to automatically fix this.
2024-10-26 21:38:48 -04:00

23 lines
718 B
YAML

repos:
- repo: local
hooks:
- id: meta-lint-ci
name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI
entry: bash Meta/lint-ci.sh
args: [ --no-ports ]
stages: [ pre-commit ]
language: system
- id: meta-lint-ports
name: Running Meta/lint-ports.py to ensure changes will pass linting on CI
entry: Meta/lint-ports.py
pass_filenames: false
files: ^Ports/
stages: [ pre-commit ]
language: system
- id: meta-lint-commit
name: Lint commit message to ensure it will pass the commit linting on CI
entry: Meta/lint-commit.sh
stages: [ commit-msg ]
language: system