mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-01 03:30:09 +01:00
23 lines
652 B
YAML
23 lines
652 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: no-commit-to-branch
|
|
args: ['--branch', 'main']
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.9.4
|
|
hooks:
|
|
- id: ruff
|
|
args: ['--ignore=E741,E501', '.', 'proto/ei-scanner']
|
|
- id: ruff-format
|
|
args: ['.', 'proto/ei-scanner']
|
|
- repo: local
|
|
hooks:
|
|
- id: ci-fairy-generate-template
|
|
name: ci-fairy-generate-template
|
|
entry: bash -c 'command -v ci-fairy && ci-fairy generate-template || true'
|
|
language: system
|