Merge pull request #5877 from jbampton/update-rake-tasks

Add `check` and `checkupdate` to `rake --tasks`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-12-26 13:25:30 +09:00
committed by GitHub
+2
View File
@@ -96,10 +96,12 @@ task :install_bin => :all do
end
end
desc "run all pre-commit hooks against all files"
task :check do
sh "pre-commit run --all-files"
end
desc "check the pre-commit hooks for updates"
task :checkupdate do
sh "pre-commit autoupdate"
end