From a9bb030cad291299988e0c8edf7fd7093da8bec4 Mon Sep 17 00:00:00 2001 From: Andrew Vaillancourt Date: Fri, 4 Jul 2025 16:27:51 -0400 Subject: [PATCH] Restore push-only stage for unit test hook The `unit-tests` hook in `.pre-commit-config.yaml` was missing the `stages: [push]` declaration, likely removed unintentionally in a previous commit. This caused the hook to run automatically on every commit instead of only on push. This update re-adds the `stages` configuration to restore the intended behavior of running unit tests only on push. Developers who prefer to run tests locally before committing can simply use: pytest unit_tests/ Change-Id: I4bc0ab46b1a962f1f6e6e3d06f14b0c1d9ac8fdc Signed-off-by: Andrew Vaillancourt --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00b7b47e..20100f4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -78,3 +78,4 @@ repos: entry: bash -c 'pytest unit_tests/' language: system pass_filenames: false + stages: [push] \ No newline at end of file