mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
3b30b0a51e
* Enable and apply clang-tidy readability and misc fixes. * Revert deprecated tester * add space to tests/test_constants_and_functions.cpp
38 lines
961 B
YAML
38 lines
961 B
YAML
FormatStyle: file
|
|
|
|
Checks: '
|
|
llvm-namespace-comment,
|
|
misc-misplaced-const,
|
|
misc-static-assert,
|
|
misc-uniqueptr-reset-release,
|
|
modernize-avoid-bind,
|
|
modernize-replace-auto-ptr,
|
|
modernize-replace-disallow-copy-and-assign-macro,
|
|
modernize-shrink-to-fit,
|
|
modernize-use-auto,
|
|
modernize-use-bool-literals,
|
|
modernize-use-equals-default,
|
|
modernize-use-equals-delete,
|
|
modernize-use-default-member-init,
|
|
modernize-use-noexcept,
|
|
modernize-use-emplace,
|
|
modernize-use-override,
|
|
modernize-use-using,
|
|
readability-container-size-empty,
|
|
readability-make-member-function-const,
|
|
readability-redundant-function-ptr-dereference,
|
|
readability-redundant-smartptr-get,
|
|
readability-redundant-string-cstr,
|
|
readability-simplify-subscript-expr,
|
|
readability-string-compare,
|
|
readability-uniqueptr-delete-release,
|
|
'
|
|
|
|
CheckOptions:
|
|
- key: performance-unnecessary-value-param.AllowedTypes
|
|
value: 'exception_ptr$;'
|
|
|
|
HeaderFilterRegex: 'pybind11/.*h'
|
|
|
|
WarningsAsErrors: '*'
|