From 29d67d0aea12db85ad352af14d90d9c3292ff119 Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Wed, 30 Aug 2023 13:03:12 +0200 Subject: [PATCH] Remove bugprone-suspicious-include check from tests Tests almost always include a .cpp file so we can test inner methods. --- collector/clangd.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/collector/clangd.yaml b/collector/clangd.yaml index 0dd7045..56de99e 100644 --- a/collector/clangd.yaml +++ b/collector/clangd.yaml @@ -9,3 +9,10 @@ Diagnostics: Remove: - readability-identifier-length - modernize-use-trailing-return-type +--- +If: + PathMatch: .*Test\.cpp +Diagnostics: + ClangTidy: + Remove: + - bugprone-suspicious-include