Add `check` and `checkupdate` to `rake --tasks`
MODIFY
Rakefile
Rakefile
@@ -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

Add `check` and `checkupdate` to `rake --tasks`