From 818de2edd8e0382840beb7c10b458ad9f193d295 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Jun 2024 09:41:44 -0400 Subject: Check that header has zero code complexity --- test/headers/.clang-tidy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index eaf6ac95..06ede334 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright 2020-2022 David Robillard +# Copyright 2020-2024 David Robillard # SPDX-License-Identifier: 0BSD OR ISC Checks: > @@ -6,6 +6,9 @@ Checks: > -altera-*, -llvmlibc-*, -readability-identifier-length, +CheckOptions: + - key: readability-function-cognitive-complexity.Threshold + value: '0' WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file -- cgit v1.2.1