JOJ3/examples/clang_tidy/conf.toml
张佳澈520370910044 eb4815f10d
Some checks failed
continuous-integration/drone/push Build is failing
test(examples/clang_tidy/sillycode.cpp): Auto formatting test files
2024-04-30 21:44:10 +08:00

33 lines
901 B
TOML

skipGitea = true
[[stages]]
name = "clang-tidy"
[stages.executor]
name = "clang-tidy"
[stages.executor.with.default]
args = ["clang-tidy", "--header-filter=.*", "--quiet", "-checks=*", "sillycode.cpp"]
env = ["PATH=/usr/bin:/bin"]
[stages.executor.with.default.copyIn.dummy]
src = "./../../build/dummy"
copyOut = ["stdout", "stderr"]
[stages.executor.with.default.stdin]
content = ""
[stages.executor.with.default.stdout]
name = "stdout"
max = 65_536
[stages.executor.with.default.stderr]
name = "stderr"
max = 65_536
[stages.parser]
name = "clang-tidy"
[stages.parser.with]
score = 100
[[stages.parser.with.matches]]
keyword = ["cppcoreguidelines-avoid-non-const-global-variables"]
score = 5
[[stages.parser.with.matches]]
keyword = ["readability-identifier-length","misc-use-anonymous-namespace"]
score = 2
[[stages.parser.with.matches]]
keyword = ["llvmlibc-implementation-in-namespace"]
score = 0