mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 15:50:18 +01:00
pre-commit: ignore subprojects for ruff and black
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>
This commit is contained in:
parent
fdb693a6ee
commit
e72ee0b1c8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,12 +10,12 @@ repos:
|
|||
rev: 22.10.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ['--check', '--diff', '.']
|
||||
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', '.']
|
||||
args: ['--ignore=E741,E501', '--extend-exclude=subprojects', '.']
|
||||
- repo: https://gitlab.freedesktop.org/freedesktop/ci-templates.git
|
||||
rev: 7402203527f61d6473d55ad701172d1606508c52
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue