[PR #597] [bug fix] fix code formatting during CI #1042

Open
opened 2026-01-29 15:17:01 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/TheAlgorithms/C/pull/597

State: closed
Merged: Yes


Description of Change

Code formatting failed in CI steps by clang-tidy. Added explicit clang-format command.

References

This is analogous to the issue TheAlgorithms/C-Plus-Plus#1032 and its corresponding solution TheAlgorithms/C-Plus-Plus#1052.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
    Tested in the above referenced PR and same commands used here as well.
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/597 **State:** closed **Merged:** Yes --- #### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C-Plus-Plus/CONTRIBUTING.md --> Code formatting failed in CI steps by `clang-tidy`. Added explicit `clang-format` command. #### References <!-- Add any reference to previous pull-request or issue --> This is analogous to the issue TheAlgorithms/C-Plus-Plus#1032 and its corresponding solution TheAlgorithms/C-Plus-Plus#1052. #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines) - [x] Added tests and example, test must pass Tested in the above referenced PR and same commands used here as well. - [ ] ~Relevant documentation/comments is changed or added~ - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/597"><img src="https://gitpod.io/api/apps/github/pbs/github.com/kvedala/C.git/8653cf4cb604fa2dca424ef2b1f16c7a6e8dd5dd.svg" /></a>
claunia added the pull-request label 2026-01-29 15:17:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1042