Skip to content

Commit 95e62e1

Browse files
authored
Run Fo's commit check unbounded again (#89)
fo hook pre-commit --bounded accepts only a complete fast tier within its deadline; projects with many fast tests (fortfem: 867) never reach it, so every commit failed. Also update the installer checksum, which #88 left stale.
1 parent 9f7b71d commit 95e62e1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎scripts/setup/git-hooks.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for tool in git python3 curl install mktemp; do
1010
done
1111
revision=632eff5452fe5c828bc0fb0224c992534567c776
1212
checker_sha256=56561f64c2054899da968d96f0676e4ae10a00f72e3920f0f69cb5e594cf8af5
13-
hook_sha256=6591b9a9954c878131ecf9fea97bc9e8c431007401dd7cf671d9fa9c72453eeb
13+
hook_sha256=ef024b5c725de166cbb64e7894d57b60e164443c92cfa315c14b0f74dce28e4a
1414
dest="$HOME/.local/share/git-hooks"
1515
if [[ "${1:-}" == --dry-run ]]; then
1616
printf 'Would install global repository hygiene %s at %s\n' "$revision" "$dest"

‎scripts/setup/pre-commit‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ except (OSError, ValueError, KeyError, AttributeError):
6262
pass
6363
' "$hook_dir/fo-latest.json" || true
6464
fi
65-
fo hook pre-commit --bounded
65+
# Unbounded: --bounded accepts only a complete fast tier within its deadline,
66+
# which projects with many fast tests never reach, so it blocks every commit.
67+
fo hook pre-commit
6668
fi
6769
fi
6870

0 commit comments

Comments
 (0)