Files
claude-config/rules/python/hooks.md
Yaojia Wang 2876cca8fe chore: initial backup of Claude Code configuration
Includes: CLAUDE.md, settings.json, agents, commands, rules, skills,
hooks, contexts, evals, get-shit-done, plugin configs (installed list
and marketplace sources). Excludes credentials, runtime caches,
telemetry, session data, and plugin binary cache.
2026-03-24 22:26:05 +01:00

424 B

paths
paths
**/*.py
**/*.pyi

Python Hooks

This file extends common/hooks.md with Python specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • black/ruff: Auto-format .py files after edit
  • mypy/pyright: Run type checking after editing .py files

Warnings

  • Warn about print() statements in edited files (use logging module instead)