mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Enable clang-tidy readability-function-cognitive-complexity check
The two functions previously flagged by this check, Argument::is_decimal_literal and Argument::validate, fell below the default Cognitive Complexity threshold as a result of the branch simplification for the readability-else-after-return check. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
This commit is contained in:
parent
d0a492ccba
commit
6564839971
@ -3,7 +3,6 @@ Checks:
|
||||
clang-analyzer-*,
|
||||
cppcoreguidelines-special-member-functions,
|
||||
readability-*,
|
||||
-readability-function-cognitive-complexity,
|
||||
|
||||
CheckOptions:
|
||||
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
||||
|
Loading…
Reference in New Issue
Block a user