examples/ is based on KasperskyLab/knp at 55470ed6 with local changes to the mnist-learn altai/blifat models, cuda-backend CMake and model_loader. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
---
|
|
BasedOnStyle: Google
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
BreakBeforeBraces: Allman
|
|
ColumnLimit: 120
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
IndentWidth: 4
|
|
IndentPPDirectives: AfterHash
|
|
MaxEmptyLinesToKeep: 2
|
|
NamespaceIndentation: None
|
|
SpaceInEmptyParentheses: false
|
|
TabWidth: 4
|
|
UseTab: Never
|
|
|
|
SpacesInLineCommentPrefix:
|
|
# Need to support special OCLint comments: //!OCLint
|
|
Minimum: 0
|
|
Maximum: 1
|
|
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
# Kaspersky Neuromorphic Platform headers in <>.
|
|
- Regex: '<knp\/[[:alnum:]_.\/\-]+>'
|
|
SortPriority: 0
|
|
Priority: 2
|
|
CaseSensitive: true
|
|
# Headers in <> with .h extension (system C headers).
|
|
- Regex: '<[[:alnum:]_.\/\-]+\.h>'
|
|
SortPriority: 10
|
|
Priority: 10
|
|
CaseSensitive: true
|
|
# Headers in <> without extension (system C++ headers).
|
|
- Regex: '<[[:alnum:]_\/\-]+>'
|
|
SortPriority: 11
|
|
Priority: 11
|
|
CaseSensitive: true
|
|
# Boost headers.
|
|
- Regex: '<boost\/[[:alnum:]_.\/\-]+>'
|
|
SortPriority: 20
|
|
Priority: 20
|
|
CaseSensitive: true
|
|
# Headers in <> with extension.
|
|
- Regex: '<[[:alnum:]_.\/\-]+>'
|
|
SortPriority: 21
|
|
Priority: 21
|
|
# Headers in "" with extension.
|
|
- Regex: '"[[:alnum:]_.\/\-]+"'
|
|
SortPriority: 22
|
|
Priority: 22
|
|
CaseSensitive: true
|
|
# Other headers.
|
|
- Regex: '.*'
|
|
SortPriority: 23
|
|
Priority: 23
|
|
CaseSensitive: true
|
|
SortIncludes: CaseSensitive
|