Prompt DevOps

Add Pre-commit Hooks

Set up git hooks to lint, format, and type-check before each commit.

gitnodepython
Insert label Pre-commit Hooks
Prompt

Set up pre-commit hooks for this project. Run the linter, formatter, and type checker on staged files before each commit. Use the appropriate tool for this ecosystem (husky + lint-staged for Node, pre-commit for Python). Make it fast by only checking changed files.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl