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/github_archive_updater.py b/github_archive_updater.py index e67d77b..c8b94d0 100644 --- a/github_archive_updater.py +++ b/github_archive_updater.py
@@ -167,7 +167,7 @@ else: self._fetch_latest_version() - def update(self, skip_post_update: bool) -> None: + def update(self) -> None: """Updates the package. Has to call check() before this function.