mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
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>
18 lines
757 B
YAML
18 lines
757 B
YAML
Checks:
|
|
-*,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-special-member-functions,
|
|
readability-*,
|
|
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.ConstexprVariableCase, value: lower_case }
|
|
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
|
- { key: readability-identifier-naming.LocalVariableIgnoredRegexp, value: "^[a-z][a-z_]+" }
|
|
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m }
|
|
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
|
- { key: readability-identifier-naming.VariableCase, value: camelBack }
|
|
|
|
HeaderFilterRegex: '.*'
|