mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 121 forks source link

Fix clang format issues in class_maker tool #37510

Closed thomashampson closed 3 weeks ago

thomashampson commented 3 weeks ago

Description of work

Fix issues in the boilerplate templates inside the class_maker tool that generate clang and cmake format issues.

Purpose of work

Make it easier to use the tool.

There is no associated issue.

To test:

  1. Run python buildconfig/class_maker.py --alg Algorithms MyAlg
  2. Commit the changes and verify that there are no pre-commit failures.

This does not require release notes because it's an update to a developer tool


Reviewer

Please comment on the points listed below (full description). Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

Functional Tests

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.