git2wrap

C++20 wrapper for libgit2
git clone git://git.dimitrijedobrota.com/git2wrap.git
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |

.clang-tidy (6428B)


1 --- 2 # Enable ALL the things! Except not really 3 # misc-non-private-member-variables-in-classes: the options don't do anything 4 # modernize-use-nodiscard: too aggressive, attribute is situationally useful 5 Checks: "*,\ 6 -google-readability-todo,\ 7 -altera-*,\ 8 -fuchsia-*,\ 9 fuchsia-multiple-inheritance,\ 10 -llvm-header-guard,\ 11 -llvm-include-order,\ 12 -llvmlibc-*,\ 13 -modernize-use-nodiscard,\ 14 -modernize-use-trailing-return-type,\ 15 -cppcoreguidelines-pro-type-vararg,\ 16 -hicpp-vararg,\ 17 -misc-include-cleaner,\ 18 -misc-non-private-member-variables-in-classes" 19 WarningsAsErrors: '' 20 CheckOptions: 21 - key: 'misc-include-cleaner.IgnoreHeaders' 22 value: "git2.h" 23 - key: 'bugprone-argument-comment.StrictMode' 24 value: 'true' 25 # Prefer using enum classes with 2 values for parameters instead of bools 26 - key: 'bugprone-argument-comment.CommentBoolLiterals' 27 value: 'true' 28 - key: 'bugprone-misplaced-widening-cast.CheckImplicitCasts' 29 value: 'true' 30 - key: 'bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression' 31 value: 'true' 32 - key: 'bugprone-suspicious-string-compare.WarnOnLogicalNotComparison' 33 value: 'true' 34 - key: 'readability-simplify-boolean-expr.ChainedConditionalReturn' 35 value: 'true' 36 - key: 'readability-simplify-boolean-expr.ChainedConditionalAssignment' 37 value: 'true' 38 - key: 'readability-uniqueptr-delete-release.PreferResetCall' 39 value: 'true' 40 - key: 'cppcoreguidelines-init-variables.MathHeader' 41 value: '<cmath>' 42 - key: 'cppcoreguidelines-narrowing-conversions.PedanticMode' 43 value: 'true' 44 - key: 'readability-else-after-return.WarnOnUnfixable' 45 value: 'true' 46 - key: 'readability-else-after-return.WarnOnConditionVariables' 47 value: 'true' 48 - key: 'readability-inconsistent-declaration-parameter-name.Strict' 49 value: 'true' 50 - key: 'readability-qualified-auto.AddConstToQualified' 51 value: 'true' 52 - key: 'readability-redundant-access-specifiers.CheckFirstDeclaration' 53 value: 'true' 54 # These seem to be the most common identifier styles 55 - key: 'readability-identifier-naming.AbstractClassCase' 56 value: 'lower_case' 57 - key: 'readability-identifier-naming.ClassCase' 58 value: 'lower_case' 59 - key: 'readability-identifier-naming.ClassConstantCase' 60 value: 'lower_case' 61 - key: 'readability-identifier-naming.ClassMemberCase' 62 value: 'lower_case' 63 - key: 'readability-identifier-naming.ClassMethodCase' 64 value: 'lower_case' 65 - key: 'readability-identifier-naming.ConstantCase' 66 value: 'lower_case' 67 - key: 'readability-identifier-naming.ConstantMemberCase' 68 value: 'lower_case' 69 - key: 'readability-identifier-naming.ConstantParameterCase' 70 value: 'lower_case' 71 - key: 'readability-identifier-naming.ConstantPointerParameterCase' 72 value: 'lower_case' 73 - key: 'readability-identifier-naming.ConstexprFunctionCase' 74 value: 'lower_case' 75 - key: 'readability-identifier-naming.ConstexprMethodCase' 76 value: 'lower_case' 77 - key: 'readability-identifier-naming.ConstexprVariableCase' 78 value: 'lower_case' 79 - key: 'readability-identifier-naming.EnumCase' 80 value: 'lower_case' 81 - key: 'readability-identifier-naming.EnumConstantCase' 82 value: 'UPPER_CASE' 83 - key: 'readability-identifier-naming.FunctionCase' 84 value: 'lower_case' 85 - key: 'readability-identifier-naming.GlobalConstantCase' 86 value: 'lower_case' 87 - key: 'readability-identifier-naming.GlobalConstantPointerCase' 88 value: 'lower_case' 89 - key: 'readability-identifier-naming.GlobalFunctionCase' 90 value: 'lower_case' 91 - key: 'readability-identifier-naming.GlobalPointerCase' 92 value: 'lower_case' 93 - key: 'readability-identifier-naming.GlobalVariableCase' 94 value: 'lower_case' 95 - key: 'readability-identifier-naming.InlineNamespaceCase' 96 value: 'lower_case' 97 - key: 'readability-identifier-naming.LocalConstantCase' 98 value: 'lower_case' 99 - key: 'readability-identifier-naming.LocalConstantPointerCase' 100 value: 'lower_case' 101 - key: 'readability-identifier-naming.LocalPointerCase' 102 value: 'lower_case' 103 - key: 'readability-identifier-naming.LocalVariableCase' 104 value: 'lower_case' 105 - key: 'readability-identifier-naming.MacroDefinitionCase' 106 value: 'UPPER_CASE' 107 - key: 'readability-identifier-naming.MemberCase' 108 value: 'lower_case' 109 - key: 'readability-identifier-naming.MethodCase' 110 value: 'lower_case' 111 - key: 'readability-identifier-naming.NamespaceCase' 112 value: 'lower_case' 113 - key: 'readability-identifier-naming.ParameterCase' 114 value: 'lower_case' 115 - key: 'readability-identifier-naming.ParameterPackCase' 116 value: 'lower_case' 117 - key: 'readability-identifier-naming.PointerParameterCase' 118 value: 'lower_case' 119 - key: 'readability-identifier-naming.PrivateMemberCase' 120 value: 'lower_case' 121 - key: 'readability-identifier-naming.PrivateMemberPrefix' 122 value: 'm_' 123 - key: 'readability-identifier-naming.PrivateMethodCase' 124 value: 'lower_case' 125 - key: 'readability-identifier-naming.ProtectedMemberCase' 126 value: 'lower_case' 127 - key: 'readability-identifier-naming.ProtectedMemberPrefix' 128 value: 'm_' 129 - key: 'readability-identifier-naming.ProtectedMethodCase' 130 value: 'lower_case' 131 - key: 'readability-identifier-naming.PublicMemberCase' 132 value: 'lower_case' 133 - key: 'readability-identifier-naming.PublicMethodCase' 134 value: 'lower_case' 135 - key: 'readability-identifier-naming.ScopedEnumConstantCase' 136 value: 'UPPER_CASE' 137 - key: 'readability-identifier-naming.StaticConstantCase' 138 value: 'lower_case' 139 - key: 'readability-identifier-naming.StaticVariableCase' 140 value: 'lower_case' 141 - key: 'readability-identifier-naming.StructCase' 142 value: 'lower_case' 143 - key: 'readability-identifier-naming.TemplateParameterCase' 144 value: 'CamelCase' 145 - key: 'readability-identifier-naming.TemplateTemplateParameterCase' 146 value: 'CamelCase' 147 - key: 'readability-identifier-naming.TypeAliasCase' 148 value: 'lower_case' 149 - key: 'readability-identifier-naming.TypedefCase' 150 value: 'lower_case' 151 - key: 'readability-identifier-naming.TypeTemplateParameterCase' 152 value: 'CamelCase' 153 - key: 'readability-identifier-naming.UnionCase' 154 value: 'lower_case' 155 - key: 'readability-identifier-naming.ValueTemplateParameterCase' 156 value: 'CamelCase' 157 - key: 'readability-identifier-naming.VariableCase' 158 value: 'lower_case' 159 - key: 'readability-identifier-naming.VirtualMethodCase' 160 value: 'lower_case' 161 ...