mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-16 15:50:46 +01:00
pre-commit: autoupdate and add two more useful checkers
We don't have symlinks but let's check for them anyway. And check for merge conflict leftoers too.
This commit is contained in:
parent
38132d6fc5
commit
9697aa9c74
1 changed files with 5 additions and 3 deletions
|
|
@ -1,18 +1,20 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
rev: v4.5.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/psf/black
|
||||
rev: 22.10.0
|
||||
rev: 23.11.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ['--check', '--diff', '.', 'proto/ei-scanner']
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.254
|
||||
rev: v0.1.7
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: ['--ignore=E741,E501', '.', 'proto/ei-scanner']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue