You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
star hook pre-commit fails at its first check: it passes path= to lint.go, lint.shell and lint.markdown, and none of them takes it #1207
star hook pre-commit fails at its first check. #672 recorded the error:
lint.go: unexpected keyword argument "path" (did you mean paths?)
hook-pre-commit.star calls lint.go(path="./...", ...), lint.shell(path=".", ...) and lint.markdown(path=".", ...). On develop at be7042d6 the lint provider takes paths for Go, and files for Shell and Markdown. The Go check fails first, so the shell and Markdown checks never run. #672 named the Go and shell calls; the Markdown call has the same fault.
Renaming the arguments is not the whole fix. Shell and Markdown take a list of files, not a directory, so the hook has to find the files first, as star lint shell and star lint markdown do.
To make it happen: run star hook pre-commit in devlore-cli. It should run the Go, shell and Markdown checks and report each.
Split from #672, its plan's steps 1 and 2, on 2026-11-06.
Evidence of completion
Before this issue closes, a comment on it links a run of star hook pre-commit that runs all three checks, and a test that runs the hook, so a wrong argument name fails CI.
Activity