Skip to content

offline-ant/pi-typecheck-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pi-typecheck-hooks

Type and style checking hooks for pi. Runs checks on files after write/edit operations and sends feedback to the LLM.

Hooks

python-ty

Runs ty on Python files after edit/write. Requires ty to be installed (uv tool install ty or pipx install ty). Shows a status bar warning if not available.

shellcheck

Runs shellcheck on shell scripts (bash/sh) after edit/write. Requires shellcheck to be installed; silently skips if not available.

rust-style-checker

Warns about String::from_utf8_lossy usage in Rust files without explicit justification comments.

Installation

Add to your pi settings (~/.pi/agent/settings.json):

{
  "packages": [
    "/path/to/pi-typecheck-hooks"
  ]
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors