mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 05:40:04 +01:00
We don't have any subprojects yet but let's not fail badly for something that's not our fault. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1005>
23 lines
680 B
YAML
23 lines
680 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: no-commit-to-branch
|
|
args: ['--branch', 'main']
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.10.0
|
|
hooks:
|
|
- id: black
|
|
args: ['--check', '--diff', '--extend-exclude=subprojects', '.']
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.0.254
|
|
hooks:
|
|
- id: ruff
|
|
args: ['--ignore=E741,E501', '--extend-exclude=subprojects', '.']
|
|
- repo: https://gitlab.freedesktop.org/freedesktop/ci-templates.git
|
|
rev: 7402203527f61d6473d55ad701172d1606508c52
|
|
hooks:
|
|
- id: check-commits
|
|
- id: generate-template
|