[Workflow] Add new code format helper. (#66684)
commitda94bf0d561109529e4ab3dabfcbb8b6c258ea39
authorTobias Hieta <tobias@hieta.se>
Wed, 20 Sep 2023 06:52:29 +0000 (20 08:52 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 06:52:29 +0000 (20 08:52 +0200)
tree9c8bc17712be03dba058093bdde35dd1761d6d73
parent695a5a6a66396b83263bbb3f1946fbaf41e422c3
[Workflow] Add new code format helper. (#66684)

This helper will format python files with black/darker and
C/C++ files with clang-format.

The format helper is written so that we can expand it with new
formatters in the future like clang-tidy.
.github/workflows/pr-code-format.yml [new file with mode: 0644]
.github/workflows/pr-python-format.yml [deleted file]
llvm/utils/git/code-format-helper.py [new file with mode: 0644]
llvm/utils/git/requirements_formatting.txt [new file with mode: 0644]
llvm/utils/git/requirements_formatting.txt.in [new file with mode: 0644]