-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
2,691 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# Defaults for all languages. | ||
BasedOnStyle: Google | ||
|
||
# Setting ColumnLimit to 0 so developer choices about where to break lines are maintained. | ||
# Developers are responsible for adhering to the 120 character maximum. | ||
ColumnLimit: 0 | ||
SortIncludes: false | ||
DerivePointerAlignment: false | ||
|
||
# if you want to customize when working locally see https://clang.llvm.org/docs/ClangFormatStyleOptions.html for options. | ||
# See ReformatSource.ps1 for a script to update all source according to the current options in this file. | ||
# e.g. customizations to use Allman bracing and more indenting. | ||
# AccessModifierOffset: -2 | ||
# BreakBeforeBraces: Allman | ||
# CompactNamespaces: false | ||
# IndentCaseLabels: true | ||
# IndentWidth: 4 | ||
# NamespaceIndentation: All | ||
|
||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# turn off readability-braces-around-statements to allow single line statement like 'if (x == y) doSomething();' | ||
Checks: '-*,cppcoreguidelines-*,google-*,readability-*,modernize-*,-readability-braces-around-statements,-google-runtime-references,-cppcoreguidelines-pro-type-reinterpret-cast' | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '.*onnxruntime\/core\/.*' | ||
AnalyzeTemporaryDtors: false | ||
FormatStyle: none | ||
CheckOptions: | ||
- key: google-readability-braces-around-statements.ShortStatementLines | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: google | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: google | ||
- key: modernize-use-nullptr.NullMacros | ||
value: 'NULL' | ||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
per-file-ignores = | ||
__init__.py:F401 | ||
format = [flake8 PEP8 ERROR] %(path)s:%(row)d:%(col)d: %(code)s %(text)s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# build, distribute, and bins (+ python proto bindings) | ||
mybuild.* | ||
build | ||
build_host_protoc | ||
build_android | ||
build_ios | ||
build_* | ||
.build_debug/* | ||
.build_release/* | ||
distribute/* | ||
*.testbin | ||
*.bin | ||
cmake_build | ||
.cmake_build | ||
cmake-build-debug | ||
gen | ||
*~ | ||
.vs | ||
TestResults/ | ||
.idea/ | ||
onnxruntime.egg-info | ||
nuget_root/ | ||
.packages/ | ||
.vscode/ | ||
*.code-workspace | ||
__pycache__ | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.