Skip to content

Move autopep8 formatting from happening on the PR to being checked on the repo. - #2643

Merged
hanyunfan merged 5 commits into
masterfrom
feat/autopep8-check
Jul 28, 2026
Merged

Move autopep8 formatting from happening on the PR to being checked on the repo.#2643
hanyunfan merged 5 commits into
masterfrom
feat/autopep8-check

Conversation

@arav-agarwal2

Copy link
Copy Markdown
Contributor

As we've had some issues with autopep8 formatting, it's been confirmed that part of the issue lies in trying to have automatic pep8 formatting as a github action. As we've merged pre-commit tools to help format the code before commits, we're going to move towards a format-action-free methodology for handling code formatting.

This workflow checks that modified Python files in pull requests are formatted according to autopep8 standards. It is set as a required status check to prevent unformatted code from being merged.
@arav-agarwal2
arav-agarwal2 requested review from a team as code owners July 24, 2026 18:10
@github-actions

Copy link
Copy Markdown
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@hanyunfan
hanyunfan merged commit cd92cfe into master Jul 28, 2026
16 checks passed
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.

2 participants