Skip to content

Arm backend: Improve pre-push hook #9873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Apr 3, 2025

Now checks:

  • License header
  • Lintrunner
  • Commit message

This is done for all commits that are not on the remote branch the current branch is tracking.

Commit message checks are:

  • Subject limit is 72 characters
  • Subject should start with "Arm backend: " + an imperative verb
  • Body limit is 72 characters
  • Must contain Signed-off-by

Lines can be shorter than 72, but unless it's a new paragraph each line should get to as close to 72 characters as possible. This is not checked by the hook.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Now checks:
* License header
* Lintrunner
* Commit message

This is done for all commits that are not on the remote branch the
current branch is tracking.

Commit message checks are:
* Subject limit is 72 characters
* Subject should start with "Arm backend: " + an imperative verb
* Body limit is 72 characters
* Must contain Signed-off-by

Lines can be shorter than 72, but unless it's a new paragraph each line
should get to as close to 72 characters as possible. This is not checked
by the hook.

Signed-off-by: Sebastian Larsson <[email protected]>
Change-Id: Ie99d1ba4603455ededc8a12b440058c8665ff66c
Signed-off-by: Yufeng Shi <[email protected]>
Copy link

pytorch-bot bot commented Apr 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9873

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 62f26cc with merge base 3600d4f (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 3, 2025
@Sebastian-Larsson Sebastian-Larsson added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Apr 3, 2025
@Sebastian-Larsson
Copy link
Collaborator Author

CI failure seems unrelated. Started happening after this was merged: #9643

@zingo zingo merged commit fe0aee3 into pytorch:main Apr 3, 2025
166 of 170 checks passed
@Sebastian-Larsson Sebastian-Larsson deleted the arm_pre_push_hook branch April 4, 2025 14:05
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
Now checks:
* License header
* Lintrunner
* Commit message

This is done for all commits that are not on the remote branch the
current branch is tracking.

Commit message checks are:
* Subject limit is 72 characters
* Subject should start with "Arm backend: " + an imperative verb
* Body limit is 72 characters
* Must contain Signed-off-by

Lines can be shorter than 72, but unless it's a new paragraph each line
should get to as close to 72 characters as possible. This is not checked
by the hook.

Signed-off-by: Sebastian Larsson <[email protected]>
Signed-off-by: Yufeng Shi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants