Skip to content

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

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

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
@meta-codesync meta-codesync Bot closed this in 2c41c01 Jul 23, 2026
@meta-codesync meta-codesync Bot added the Merged label Jul 23, 2026
@meta-codesync

meta-codesync Bot commented Jul 23, 2026

Copy link
Copy Markdown

@scotts merged this pull request in 2c41c01.

pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Jul 30, 2026
Includes the following commits:

- Clean up dtypes for metadata fields (pytorch/kineto#1499) 6f446fe
- [xpupti] Fix Windows build support for xpupti tests and multi-config generators. (pytorch/kineto#1394) 9e826ca
- Test ConfigLoader on-demand daemon poll ingress (pytorch/kineto#1504) 7674d28
- Remove comment about documentation (pytorch/kineto#1503) eeb3db9
- Remove HTA from README (pytorch/kineto#1502) 46b1c63
- Catch config-update exceptions so the poll thread can't crash the process (pytorch/kineto#1498) be334e1
- Drop EventProfiler config kind from ConfigLoader (pytorch/kineto#1496) e7c97a6
- Remove event-only config surface from Config (pytorch/kineto#1495) a3a0566
- Remove dead event profiler: runtime, CUPTI backends, build wiring (pytorch/kineto#1494) 36c2e05
- Decompose libkineto_defs.bzl source lists into atoms (pytorch/kineto#1493) 328fa51
- Add XPU synchronization events to XPUPTI profiler (pytorch/kineto#1395) 8285e5b
- Re-enable CI linting and lint all C++ (pytorch/kineto#1489) 2c41c01
- Test ConfigLoader handler fan-out (pytorch/kineto#1487) cccc5d1
- Update C++ lint tooling (pytorch/kineto#1488) 57e59e6
Pull Request resolved: #191526
Approved by: https://github.com/scotts
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