Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/setup/git-hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for tool in git python3 curl install mktemp; do
done
revision=632eff5452fe5c828bc0fb0224c992534567c776
checker_sha256=56561f64c2054899da968d96f0676e4ae10a00f72e3920f0f69cb5e594cf8af5
hook_sha256=6591b9a9954c878131ecf9fea97bc9e8c431007401dd7cf671d9fa9c72453eeb
hook_sha256=ef024b5c725de166cbb64e7894d57b60e164443c92cfa315c14b0f74dce28e4a
dest="$HOME/.local/share/git-hooks"
if [[ "${1:-}" == --dry-run ]]; then
printf 'Would install global repository hygiene %s at %s\n' "$revision" "$dest"
Expand Down
4 changes: 3 additions & 1 deletion scripts/setup/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ except (OSError, ValueError, KeyError, AttributeError):
pass
' "$hook_dir/fo-latest.json" || true
fi
fo hook pre-commit --bounded
# Unbounded: --bounded accepts only a complete fast tier within its deadline,
# which projects with many fast tests never reach, so it blocks every commit.
fo hook pre-commit
fi
fi

Expand Down