Skip to content

Re-enable CI linting and lint all C++#1489

Open
scotts wants to merge 1 commit into
pytorch:mainfrom
scotts:reenable-github-lint-enable
Open

Re-enable CI linting and lint all C++#1489
scotts wants to merge 1 commit into
pytorch:mainfrom
scotts:reenable-github-lint-enable

Conversation

@scotts

@scotts scotts commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

There are many changed files, but it's all linting. We:

  1. Re-enable the CI linting job.
  2. Apply the linting to the C++ code.

The lint tooling landed (disabled) in pytorch#1488. Enable the CI lint job (rename
lint.yml.disabled to lint.yml) together with the mechanical reformat that makes
the existing tree compliant, so the job goes live only once the code passes. The
reformat is the output of lintrunner -a --all-files with the pinned
clang-format: 75 C++ files under libkineto/, formatting only, no behavior change.

Test Plan:
  uv tool run lintrunner --all-files   # exits 0

Authored with assistance from an AI agent (Claude Code).
@scotts
scotts force-pushed the reenable-github-lint-enable branch from 6b9e258 to 88c33a5 Compare July 22, 2026 16:41
@meta-codesync

meta-codesync Bot commented Jul 22, 2026

Copy link
Copy Markdown

@scotts has imported this pull request. If you are a Meta employee, you can view this in D113276882.

@scotts
scotts marked this pull request as ready for review July 22, 2026 18:38
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