Skip to content

style: format repo with pre-commit (black wandb_utils.py)#62

Merged
DavidBellamy merged 1 commit into
mainfrom
chore/format-all-files
Jul 1, 2026
Merged

style: format repo with pre-commit (black wandb_utils.py)#62
DavidBellamy merged 1 commit into
mainfrom
chore/format-all-files

Conversation

@DavidBellamy

Copy link
Copy Markdown
Collaborator

The required Run pre-commit check runs pre-commit run --all-files, so a single unformatted file anywhere in the tree fails the check on every open PR.

miles/utils/wandb_utils.py had a black violation (a magic trailing comma in a logger.warning call) that landed on main via #10 and has been breaking unrelated PRs (e.g. #61) ever since.

This runs pre-commit run --all-files and commits the result. Only wandb_utils.py needed reformatting; the other 418 files were already clean. After this, uvx pre-commit run --all-files is fully green.

Merging this clears the Run pre-commit failure for all currently-open PRs at once.

Clears a stray black violation on main (from #10) that was failing the
required 'Run pre-commit' check on every open PR, since the check runs
--all-files. Verified 'uvx pre-commit run --all-files' is fully green
after this change.
@DavidBellamy DavidBellamy requested a review from a team July 1, 2026 04:24
@DavidBellamy DavidBellamy merged commit b62682e into main Jul 1, 2026
4 checks passed
@DavidBellamy DavidBellamy deleted the chore/format-all-files branch July 1, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant