Skip to content

[*] pre-commit run --all-files - #2498

Merged
copybara-service[bot] merged 1 commit into
AI-Hypercomputer:mainfrom
SamuelMarks:pre-commit-running
Nov 13, 2025
Merged

copybara-service[bot] merged 1 commit into
AI-Hypercomputer:mainfrom
SamuelMarks:pre-commit-running

Conversation

@SamuelMarks

@SamuelMarks SamuelMarks commented Oct 14, 2025 •

Copy link
Copy Markdown
Collaborator

Description

Run the pre-commit hook across the whole codebase and then fixed any issues found. Also fixed the CI to run the pre-commit hook properly and then renamed to reflect its telos.

Tests

$ pre-commit run --all-files

Install https://pre-commit.com with pip install pre-commit

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

Comment thread .pre-commit-config.yaml Outdated
Comment thread benchmarks/api_server/server_models.py Outdated
Comment thread src/MaxText/examples/grpo_llama3_1_70b_demo_pw.py Outdated
Comment thread src/MaxText/examples/grpo_llama3_1_70b_demo_pw.py Outdated
Comment thread src/MaxText/examples/grpo_llama3_1_70b_demo_pw.py Outdated
@SamuelMarks
SamuelMarks force-pushed the pre-commit-running branch 2 times, most recently from 1963d7e to d78b119 Compare November 13, 2025 00:42
@SamuelMarks SamuelMarks reopened this Nov 13, 2025
@SamuelMarks
SamuelMarks force-pushed the pre-commit-running branch 3 times, most recently from 2337339 to 3f5e73a Compare November 13, 2025 04:12
Comment thread benchmarks/api_server/server_models.py Outdated
Comment thread .github/workflows/QA.yml Outdated
@SamuelMarks
SamuelMarks force-pushed the pre-commit-running branch 10 times, most recently from 2fbc047 to a540257 Compare November 13, 2025 07:50
…s.yml -> .github/workflows/CodeQuality.yml] Run pre-commit hooks and only against the changed files rather than whole codebase; rename to refer to actual task being performed
@copybara-service
copybara-service Bot merged commit 59b37eb into AI-Hypercomputer:main Nov 13, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants