pybind11/.clang-tidy
Aaron Gokaslan e0b5cbd4c6
chore(clang-tidy): add more modernize clang-tidy checks (#3049)
* Add more modernize clang-tidy checks

* Enable a few more
2021-06-19 18:38:56 -04:00

25 lines
539 B
YAML

FormatStyle: file
Checks: '
llvm-namespace-comment,
modernize-avoid-bind,
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-shrink-to-fit,
modernize-use-auto,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-emplace,
modernize-use-override,
modernize-use-using,
readability-container-size-empty,
'
CheckOptions:
- key: performance-unnecessary-value-param.AllowedTypes
value: 'exception_ptr$;'
HeaderFilterRegex: 'pybind11/.*h'
WarningsAsErrors: '*'