Skip to content

Conversation

@NicolasHug
Copy link
Member

We used to have a complicated way of formatting Cpp code via a custom `.github/scripts/run-clang-format.py
I temporarily deactivated clang formatting in the past to avoid conflicts with fbcode.

Now that fbcode formatting is also deactivated, we can put back clang formatting. Instead of re-using the complex .github/scripts/run-clang-format.py setup, we now use pre-commit to run clang, just like we do in torchcodec.

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 31, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9160

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

⏳ No Failures, 4 Pending

As of commit fa1c743 with merge base c01e115 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla bot added the cla signed label Jul 31, 2025
@NicolasHug NicolasHug merged commit 98f8b37 into pytorch:main Jul 31, 2025
59 checks passed
@NicolasHug NicolasHug deleted the lintback branch July 31, 2025 11:21
@github-actions
Copy link

Hey @NicolasHug!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Jul 31, 2025
Reviewed By: AntoineSimoulin

Differential Revision: D79341641

fbshipit-source-id: abaee74012f475121507828e997e31d41e077c52
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.

1 participant