소개
This internal hook ensures Python code integrity by automatically triggering type-checking tools after every file edit. By integrating directly with existing project configurations in pyproject.toml, it utilizes either Pyrefly or Mypy to catch type errors immediately, maintaining high code quality and preventing runtime failures without requiring manual developer intervention. It acts as a passive background safeguard, ensuring that AI-generated or human-edited code adheres to defined type standards.