Skip to content

Commit f5cfd5f

Browse files
authored
feat: run the hooks also in the manual stage (#105)
1 parent abdd8b6 commit f5cfd5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-hooks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
entry: forbid_crlf
55
language: python
66
types: [text]
7-
stages: [pre-commit, pre-push, pre-merge-commit]
7+
stages: [manual, pre-commit, pre-push, pre-merge-commit]
88
minimum_pre_commit_version: "3.2.0"
99
- id: remove-crlf
1010
name: CRLF end-lines remover
1111
description: "Replace CRLF end-lines by LF ones before committing"
1212
entry: remove_crlf
1313
language: python
1414
types: [text]
15-
stages: [pre-commit, pre-push, pre-merge-commit]
15+
stages: [manual, pre-commit, pre-push, pre-merge-commit]
1616
minimum_pre_commit_version: "3.2.0"
1717
- id: forbid-tabs
1818
name: No-tabs checker
@@ -21,7 +21,7 @@
2121
language: python
2222
types: [text]
2323
exclude: (Makefile|debian/rules|.gitmodules)(\.in)?$
24-
stages: [pre-commit, pre-push, pre-merge-commit]
24+
stages: [manual, pre-commit, pre-push, pre-merge-commit]
2525
minimum_pre_commit_version: "3.2.0"
2626
- id: remove-tabs
2727
name: Tabs remover
@@ -31,7 +31,7 @@
3131
args: [ --whitespaces-count, '4' ]
3232
types: [text]
3333
exclude: (Makefile|debian/rules|.gitmodules)(\.in)?$
34-
stages: [pre-commit, pre-push, pre-merge-commit]
34+
stages: [manual, pre-commit, pre-push, pre-merge-commit]
3535
minimum_pre_commit_version: "3.2.0"
3636
- id: chmod
3737
name: Set file permissions

0 commit comments

Comments
 (0)