Skip to content

Add cmake_format_linter adapter#117

Merged
justinchuby merged 1 commit intojustinchuby:mainfrom
swolchok:add-cmake-format
Jul 25, 2025
Merged

Add cmake_format_linter adapter#117
justinchuby merged 1 commit intojustinchuby:mainfrom
swolchok:add-cmake-format

Conversation

@swolchok
Copy link
Copy Markdown
Contributor

No description provided.

@justinchuby
Copy link
Copy Markdown
Owner

Thanks! Just checking - the tool seems to be no longer maintained (2020). Is it still a good idea to use it?

@swolchok
Copy link
Copy Markdown
Contributor Author

Thanks! Just checking - the tool seems to be no longer maintained (2020). Is it still a good idea to use it?

Hmm, I'm not super familiar with the CMake formatting landscape but a quick Google suggests it doesn't have a clear winner. I have found more than zero aspects in which cmake-format could use some maintenance. If you wanted to reject it for that reason, I would understand.

@justinchuby
Copy link
Copy Markdown
Owner

I am ok including it in the package. I suppose it’s up to the users to decide which lint they actually want to enable.

@justinchuby
Copy link
Copy Markdown
Owner

Do you plan to make additional contributions, or would it be helpful if I release a new version after merging?

@justinchuby justinchuby merged commit b758abc into justinchuby:main Jul 25, 2025
23 checks passed
@swolchok
Copy link
Copy Markdown
Contributor Author

Do you plan to make additional contributions, or would it be helpful if I release a new version after merging?

This is all I had planned for now. A new version would be very helpful, thanks!

@swolchok swolchok deleted the add-cmake-format branch July 25, 2025 22:20
swolchok added a commit to pytorch/executorch that referenced this pull request Jul 25, 2025
This uses the adapter I added to lintrunner-adapters in justinchuby/lintrunner-adapters#117 . Since there hasn't been a release yet, I copied the adapter to our repo; we can get rid of it when there's an upstream release of lintrunner-adapters and we upgrade to it.

ghstack-source-id: 354d2b4
ghstack-comment-id: 3120541492
Pull-Request: #12868
swolchok added a commit to pytorch/executorch that referenced this pull request Jul 26, 2025
This uses the adapter I added to lintrunner-adapters in justinchuby/lintrunner-adapters#117 . Since there hasn't been a release yet, I copied the adapter to our repo; we can get rid of it when there's an upstream release of lintrunner-adapters and we upgrade to it.

ghstack-source-id: f0f4b2e
ghstack-comment-id: 3120541492
Pull-Request: #12868
swolchok added a commit to pytorch/executorch that referenced this pull request Jul 26, 2025
This uses the adapter I added to lintrunner-adapters in justinchuby/lintrunner-adapters#117 . Since there hasn't been a release yet, I copied the adapter to our repo; we can get rid of it when there's an upstream release of lintrunner-adapters and we upgrade to it.

ghstack-source-id: 2a57ed5
ghstack-comment-id: 3120541492
Pull-Request: #12868
swolchok added a commit to pytorch/executorch that referenced this pull request Aug 11, 2025
This uses the adapter I added to lintrunner-adapters in justinchuby/lintrunner-adapters#117 . Since there hasn't been a release yet, I copied the adapter to our repo; we can get rid of it when there's an upstream release of lintrunner-adapters and we upgrade to it.

ghstack-source-id: 4d8a09b
ghstack-comment-id: 3120541492
Pull-Request: #12868
swolchok added a commit to pytorch/executorch that referenced this pull request Aug 11, 2025
This uses the adapter I added to lintrunner-adapters in
justinchuby/lintrunner-adapters#117, which was
released in the newest lintrunner-adapters release.
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
This uses the adapter I added to lintrunner-adapters in
justinchuby/lintrunner-adapters#117, which was
released in the newest lintrunner-adapters release.
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