aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-23 09:41:44 -0400
committerDavid Robillard <d@drobilla.net>2024-06-23 09:46:24 -0400
commit818de2edd8e0382840beb7c10b458ad9f193d295 (patch)
tree4c0d8a58656324620bd57e379ebd052f20e5eb8b
parentde3e5c4b7186325e397c3e5ae1d97accb763492a (diff)
downloadserd-818de2edd8e0382840beb7c10b458ad9f193d295.tar.gz
serd-818de2edd8e0382840beb7c10b458ad9f193d295.tar.bz2
serd-818de2edd8e0382840beb7c10b458ad9f193d295.zip
Check that header has zero code complexity
-rw-r--r--test/headers/.clang-tidy5
1 files changed, 4 insertions, 1 deletions
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 <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# 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