You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AGENTS.md: Add pre-commit command to existing CI requirements line (#7930)
## Summary
- Added explicit `pre-commit run --files <changed_files>` command to the
existing CI requirements line in AGENTS.md/CLAUDE.md
- Clarifies that only modified files should be checked, not the entire
codebase
## Changes
- Enhanced the existing pre-commit bullet point in "Commit & CI
requirements" section (no new section added)
Signed-off-by: Guokai Ma <guokai.ma@intel.com>
- Always verify changed files pass pre-commit checks before committing: `pre-commit run --files <changed_files>`. Only check modified files, not the entire codebase. Config: `.pre-commit-config.yaml`.
11
11
-`check-torchdist` hook: NEVER directly import torch's distributed module. Use `import deepspeed.comm as dist` instead.
- Always verify changed files pass pre-commit checks before committing: `pre-commit run --files <changed_files>`. Only check modified files, not the entire codebase. Config: `.pre-commit-config.yaml`.
11
11
-`check-torchdist` hook: NEVER directly import torch's distributed module. Use `import deepspeed.comm as dist` instead.
0 commit comments