Repository navigation
Clang format - #473
Clang format#473lucbv wants to merge 5 commits into
Conversation
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
dalg24
left a comment
There was a problem hiding this comment.
It looks like we (I) messed up in #468 and that the pre-commit check is not running
mdspan/.github/workflows/pre-commit.yml
Lines 3 to 4 in 8989f70
Please change it to on: [push, pull_request]
|
Yes, I am actually inspecting why that is... the good news is that you are doing the some in |
|
This is essentially the same as #414. |
|
@masterleinad that's a good point, although since pre-commit is being used for the license already maybe that makes this approach more appealing? @dalg24 thanks for pointing out how this gets handled in kokkos, it makes sense there but probably not as much here so I will modify the workflow |
We are actually using workflow dispatch in Kokkos Core. |
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
I just wanted to make sure you have seen that one including its reviews and avoid duplicating efforts. |
Thanks for pointing it out, I was not aware when I made this PR. At least this revealed the lack of running check for license detection. Also I mostly did it so I can test this before doing it in Kokkos Kernels, so I'm really using mdspan as a guinea-pig 🫢 |
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
Some how one formatting diff got away! Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
| on: | ||
| workflow_call: |
There was a problem hiding this comment.
Not sure if this should be in a separate pull request.
There was a problem hiding this comment.
Agreed, here is my rational:
- it is required for the clang-format check to work
- the license check passes so it did not generate additional changes unrelated to formatting
If we needed changes because of the license check I would lean for two PRs but here I can get away with one in my opinion
There was a problem hiding this comment.
I just added another pull request just for this change, #475.
No description provided.