Add check and checkupdate to rake --tasks

This commit is contained in:
John Bampton
2022-12-26 14:20:34 +10:00
parent 2656a92380
commit f5cd3bfa82
+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