We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pre-commit install
1 parent f6a6075 commit 2551b25Copy full SHA for 2551b25
Makefile
@@ -2,6 +2,10 @@
2
check:
3
pre-commit run --all-files
4
5
+.PHONY: checkinstall
6
+checkinstall:
7
+ pre-commit install
8
+
9
.PHONY: checkupdate
10
checkupdate:
11
pre-commit autoupdate
Rakefile
@@ -3,6 +3,11 @@ task :check do
sh 'pre-commit run --all-files'
end
+desc 'install the pre-commit hooks'
+task :checkinstall do
+ sh 'pre-commit install'
+end
desc 'check the pre-commit hooks for updates'
12
task :checkupdate do
13
sh 'pre-commit autoupdate'
0 commit comments