Add support for --no-verify
We can bypass pre-commit hook by passing --no-verify to update.
Bug: http://b/305685473
Test: updater.sh update --no-verify --keep-local-changes rust/crates/grpcio-sys
Change-Id: I405d7d06e4a233130a217c8384e8ed1ec8cc10ef
diff --git a/crates_updater.py b/crates_updater.py
index 81e0489..8bbf583 100644
--- a/crates_updater.py
+++ b/crates_updater.py
@@ -144,7 +144,7 @@
self.download_url = f"https://static.crates.io/crates/{self.package}/" \
f"{self.package}-{self._new_ver}.crate"
- def update(self, skip_post_update: bool) -> None:
+ def update(self) -> None:
"""Updates the package.
Has to call check() before this function.