mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
Pre-emptively exclude the external checkasm sources. Split off from the following merge commit to make the history easier to follow. Signed-off-by: Niklas Haas <git@haasn.dev>
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
exclude: ^tests/ref/
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: check-illegal-windows-names
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: file-contents-sorter
|
|
files:
|
|
.forgejo/pre-commit/ignored-words.txt
|
|
args:
|
|
- --ignore-case
|
|
- id: fix-byte-order-marker
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- repo: local
|
|
hooks:
|
|
- id: arm-asm-indent
|
|
name: fix arm/aarch64 assembly indentation
|
|
files: ^.*/(arm|aarch64)/.*\.S$
|
|
language: script
|
|
entry: ./tools/check_arm_indent.sh --apply
|
|
pass_filenames: false
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.4.1
|
|
hooks:
|
|
- id: codespell
|
|
args:
|
|
- --ignore-words=.forgejo/pre-commit/ignored-words.txt
|
|
- --ignore-multiline-regex=codespell:off.*?(codespell:on|\Z)
|
|
exclude: ^tools/(patcheck|clean-diff)|tests/checkasm/ext/.*$
|