mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 09:19:27 +00:00
33 lines
845 B
YAML
33 lines
845 B
YAML
exclude: 'third_party/.*|laf/.*'
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.5.5
|
|
hooks:
|
|
- id: remove-tabs
|
|
args: [--whitespaces-count, '8']
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
rev: v18.1.8
|
|
hooks:
|
|
- id: clang-format
|
|
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx)$
|
|
types_or: [text]
|
|
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
|
rev: v1.3.5
|
|
hooks:
|
|
- id: clang-tidy
|
|
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx)$
|
|
args: [--fix, --quiet, --use-color]
|
|
types_or: [text]
|
|
additional_dependencies: [clang-tidy==18.1.8]
|
|
require_serial: true
|
|
stages: [manual]
|