Skip to content

Commit f6e9f3a

Browse files
committed
Update .pre-commit-config.yaml
1 parent 5a955aa commit f6e9f3a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
repos:
2+
- repo: local
3+
hooks:
4+
- id: make-scripts-executable
5+
name: Make script files executable
6+
entry: bash -c 'git add --chmod=+x qbt-nox-static.bash qbittorrent-nox-static.sh'
7+
language: system
8+
files: '(qbt-nox-static\.bash|qbittorrent-nox-static\.sh)$'
9+
pass_filenames: false
10+
211
- repo: https://github.com/pre-commit/pre-commit-hooks
312
rev: v5.0.0
413
hooks:
514
- id: check-yaml
615
- id: end-of-file-fixer
16+
exclude: ^(docs/|patch/)
717
- id: trailing-whitespace
818
- id: check-shebang-scripts-are-executable
919

0 commit comments

Comments
 (0)