mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-25 10:30:59 +00:00
30 lines
699 B
YAML
30 lines
699 B
YAML
|
# See https://pre-commit.com for more information
|
||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v3.2.0
|
||
|
hooks:
|
||
|
- id: trailing-whitespace
|
||
|
- id: check-yaml
|
||
|
- id: check-added-large-files
|
||
|
|
||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
# Ruff version.
|
||
|
rev: v0.1.11
|
||
|
hooks:
|
||
|
# Run the linter.
|
||
|
- id: ruff
|
||
|
# Run the formatter.
|
||
|
- id: ruff-format
|
||
|
|
||
|
- repo: https://github.com/crate-ci/typos
|
||
|
rev: v1.17.0
|
||
|
hooks:
|
||
|
- id: typos
|
||
|
exclude: '^$|\.svg$'
|
||
|
|
||
|
- repo: https://github.com/doublify/pre-commit-rust
|
||
|
rev: v1.0
|
||
|
hooks:
|
||
|
- id: fmt
|