diff options
author | David Robillard <d@drobilla.net> | 2024-06-23 09:41:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-23 09:46:24 -0400 |
commit | 818de2edd8e0382840beb7c10b458ad9f193d295 (patch) | |
tree | 4c0d8a58656324620bd57e379ebd052f20e5eb8b /test | |
parent | de3e5c4b7186325e397c3e5ae1d97accb763492a (diff) | |
download | serd-818de2edd8e0382840beb7c10b458ad9f193d295.tar.gz serd-818de2edd8e0382840beb7c10b458ad9f193d295.tar.bz2 serd-818de2edd8e0382840beb7c10b458ad9f193d295.zip |
Check that header has zero code complexity
Diffstat (limited to 'test')
-rw-r--r-- | test/headers/.clang-tidy | 5 |
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 |