-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathprek.toml
More file actions
21 lines (19 loc) · 710 Bytes
/
Copy pathprek.toml
File metadata and controls
21 lines (19 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Configuration for prek (https://prek.j178.dev), a fast Rust pre-commit
# alternative used to lint this repo:
#
# PREK_HOME="${TMPDIR:-/tmp}/codex-prek-home" prek run --all-files
# # run every hook inside Codex sandbox
# prek install # install the git pre-commit hook
#
# For now this only guards against expired one-shot scripts; more hooks and a
# CI job that runs them over all files will follow.
#:schema https://www.schemastore.org/prek.json
[[repos]]
repo = "local"
[[repos.hooks]]
id = "no-expired-scripts"
name = "no expired one-shot scripts"
entry = "tools/check-expired-scripts"
language = "script"
pass_filenames = false
always_run = true