This commit is contained in:
@@ -11,10 +11,11 @@ from git_cli.git_repo import git
|
||||
from rule_hook.git import guarded_git
|
||||
from project_config.settings import held, ProjectConfig
|
||||
from project_config.main import located
|
||||
from loop_state.paths import RELEASE_ROOT
|
||||
|
||||
|
||||
# The checkout this hook runs from: bin/rule_hook/ sits two folders below it.
|
||||
OWN = pathlib.Path(__file__).resolve().parents[2]
|
||||
OWN = RELEASE_ROOT
|
||||
# settings.json gives rule-hook 30 seconds; rank_todo.py --check takes about a tenth of one.
|
||||
OWN_CHECK_SECONDS = 20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user