All skills
Skillintermediate
Python Hooks
> This file extends the common hooks rule with Python specific content.
Claude Code Knowledge Pack7/10/2026
Overview
Python Hooks
This file extends the common hooks rule with Python specific content.
PostToolUse Hooks
Configure in ~/.claude/settings.json:
- black/ruff: Auto-format
.pyfiles after edit - mypy/pyright: Run type checking after editing
.pyfiles
Warnings
- Warn about
print()statements in edited files (useloggingmodule instead)