appmenu-gtk-module -
This commit is contained in:
30
.pre-commit-config.yaml
Normal file
30
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: validate-alr-packages
|
||||
name: Validate ALR packages
|
||||
entry: ./validate-alr.sh
|
||||
language: script
|
||||
files: ^[^/]+/alr\.sh$
|
||||
pass_filenames: true
|
||||
description: "Проверка синтаксиса и структуры alr.sh файлов"
|
||||
|
||||
- id: check-alr-syntax
|
||||
name: Check bash syntax in alr.sh
|
||||
entry: bash -n
|
||||
language: system
|
||||
files: ^[^/]+/alr\.sh$
|
||||
description: "Проверка синтаксиса bash в alr.sh файлах"
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
exclude: '\.patch$'
|
||||
- id: end-of-file-fixer
|
||||
exclude: '\.patch$'
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
args: ['--maxkb=1000']
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-shebang-scripts-are-executable
|
Reference in New Issue
Block a user