1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

[CI] Allow multiple grep options for clang-tidy (#10004)

This commit is contained in:
Jesse Hills
2025-08-01 21:40:53 +12:00
committed by GitHub
parent 20ad1ab4eb
commit d8a46c7482
3 changed files with 9 additions and 4 deletions

View File

@@ -205,7 +205,12 @@ def main():
parser.add_argument(
"-c", "--changed", action="store_true", help="only run on changed files"
)
parser.add_argument("-g", "--grep", help="only run on files containing value")
parser.add_argument(
"-g",
"--grep",
action="append",
help="only run on files containing value",
)
parser.add_argument(
"--split-num", type=int, help="split the files into X jobs.", default=None
)