Fix spotlessKotlinCheck formatting for makeExecutorchException call#20211
Conversation
ktfmt requires each argument on its own line with a trailing comma when the call is split across lines. This was authored with assistance from Claude.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20211
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled JobAs of commit cee6a3d with merge base 129c687 ( NEW FAILURE - The following job has failed:
CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
There was a problem hiding this comment.
Pull request overview
This PR updates Kotlin formatting in the Android Module wrapper to satisfy ktfmt/spotlessKotlinCheck requirements for multi-line argument lists.
Changes:
- Reformats the
makeExecutorchException(...)call inModule.loadMethod()to put each argument on its own line. - Adds a trailing comma to the last argument for a multi-line call, matching
ktfmtexpectations.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ktfmt requires each argument on its own line with a trailing comma when the call is split across lines.