aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralevitskii <alevitskii@yandex-team.com>2025-03-07 10:24:28 +0300
committeralevitskii <alevitskii@yandex-team.com>2025-03-07 10:39:17 +0300
commit4abcd208e24fe7d9e49f50337fea7ef0a089c30c (patch)
treef18f3988033ce1ce70184ae2438fead01f30be80
parent9b0a13bddce49bfb5ea59d8c4a668d32d7dada3b (diff)
downloadydb-4abcd208e24fe7d9e49f50337fea7ef0a089c30c.tar.gz
[build/config/tests] Delete obsolete default linter config files
[build/config/tests] Delete obsolete default linter config files commit_hash:bd5f2f083881c0b8d5474fc522b75401dda4cee5
-rw-r--r--build/config/tests/cpp_style/a.yaml2
-rw-r--r--build/config/tests/cpp_style/config.clang-format97
-rw-r--r--build/config/tests/cpp_style/ya.make1
-rw-r--r--build/config/tests/py_style/config.toml3
-rw-r--r--build/config/tests/py_style/ya.make1
5 files changed, 1 insertions, 103 deletions
diff --git a/build/config/tests/cpp_style/a.yaml b/build/config/tests/cpp_style/a.yaml
index ac7a9350a96..1e952c47943 100644
--- a/build/config/tests/cpp_style/a.yaml
+++ b/build/config/tests/cpp_style/a.yaml
@@ -8,7 +8,7 @@ arcanum:
- name: cppcommittee
roles: cppcommittee:consultant
rules:
- - subpaths: "config.clang-format"
+ - subpaths: ".clang-format"
reviewers:
- name: cppcommittee
assign: 1
diff --git a/build/config/tests/cpp_style/config.clang-format b/build/config/tests/cpp_style/config.clang-format
deleted file mode 100644
index b2d89e2e756..00000000000
--- a/build/config/tests/cpp_style/config.clang-format
+++ /dev/null
@@ -1,97 +0,0 @@
-Language: Cpp
-AccessModifierOffset: -4
-ConstructorInitializerIndentWidth: 4
-AlignEscapedNewlinesLeft: false
-AlignEscapedNewlines: Left
-AlignTrailingComments:
- Kind: Always
- OverEmptyLines: 0
-AllowAllParametersOfDeclarationOnNextLine: true
-AllowShortBlocksOnASingleLine: false
-AllowShortIfStatementsOnASingleLine: false
-AllowShortLoopsOnASingleLine: false
-AllowShortFunctionsOnASingleLine: None
-AlwaysBreakTemplateDeclarations: true
-AlwaysBreakBeforeMultilineStrings: false
-BreakBeforeBinaryOperators: false
-BreakBeforeTernaryOperators: true
-BreakConstructorInitializersBeforeComma: true
-BinPackParameters: true
-ColumnLimit: 0
-ConstructorInitializerAllOnOneLineOrOnePerLine: false
-DerivePointerAlignment: false
-ExperimentalAutoDetectBinPacking: false
-IndentCaseLabels: true
-IndentWrappedFunctionNames: false
-IndentFunctionDeclarationAfterType: false
-MaxEmptyLinesToKeep: 1
-KeepEmptyLinesAtTheStartOfBlocks: false
-NamespaceIndentation: All
-FixNamespaceComments: true
-ShortNamespaceLines: 0
-ObjCSpaceAfterProperty: false
-ObjCSpaceBeforeProtocolList: true
-PackConstructorInitializers: Never
-PenaltyBreakBeforeFirstCallParameter: 19
-PenaltyBreakComment: 300
-PenaltyBreakString: 1000
-PenaltyBreakFirstLessLess: 120
-PenaltyExcessCharacter: 1000000
-PenaltyReturnTypeOnItsOwnLine: 60
-PointerAlignment: Left
-SpacesBeforeTrailingComments: 1
-SpacesInSquareBrackets: false
-Cpp11BracedListStyle: true
-Standard: c++20
-IndentWidth: 4
-TabWidth: 4
-UseTab: Never
-BreakBeforeBraces: Attach
-InsertBraces: true
-
-# NB: BraceWrapping has no effect unless BreakBeforeBraces is set to Custom
-BraceWrapping:
- AfterClass: false
- AfterControlStatement: false
- AfterEnum: false
- AfterFunction: false
- AfterNamespace: false
- AfterObjCDeclaration: false
- AfterStruct: false
- AfterUnion: false
- BeforeCatch: false
- BeforeElse: false
- IndentBraces: true
-
-SpacesInParentheses: false
-SpacesInAngles: false
-SpaceInEmptyParentheses: false
-SpacesInCStyleCastParentheses: false
-SpacesInContainerLiterals: true
-SpaceBeforeAssignmentOperators: true
-ContinuationIndentWidth: 4
-CommentPragmas: '^ IWYU pragma:'
-ForEachMacros: [
- foreach,
- Q_FOREACH,
- BOOST_FOREACH,
- # Is not a foreach, but correct formatting is achieved
- Y_DEFER
-]
-IfMacros: [
- with_lock # Is not an if, but correct formatting is achieved
-]
-SpaceBeforeParens: ControlStatements
-DisableFormat: false
-SortIncludes: false
-IndentPPDirectives: BeforeHash
-
-SpaceBeforeInheritanceColon: false
-NamespaceMacros: [Y_UNIT_TEST_SUITE]
-AttributeMacros: [Y_PRINTF_FORMAT, Y_NO_SANITIZE, Y_FORCE_INLINE, Y_NO_INLINE, Y_WARN_UNUSED_RESULT, Y_HIDDEN, Y_PUBLIC, Y_PURE_FUNCTION]
-IndentExternBlock: Indent
-TypenameMacros: [Y_THREAD, Y_STATIC_THREAD, Y_POD_THREAD, Y_POD_STATIC_THREAD]
-StatementAttributeLikeMacros: [ythrow]
-SpacesInLineCommentPrefix:
- Minimum: 1
- Maximum: 1
diff --git a/build/config/tests/cpp_style/ya.make b/build/config/tests/cpp_style/ya.make
index f2cd71a2685..94fb7570b92 100644
--- a/build/config/tests/cpp_style/ya.make
+++ b/build/config/tests/cpp_style/ya.make
@@ -2,7 +2,6 @@ LIBRARY()
RESOURCE_FILES(
.clang-format
- config.clang-format
)
END()
diff --git a/build/config/tests/py_style/config.toml b/build/config/tests/py_style/config.toml
deleted file mode 100644
index 6ae249d042e..00000000000
--- a/build/config/tests/py_style/config.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-[tool.black]
-line-length = 120
-skip-string-normalization = true
diff --git a/build/config/tests/py_style/ya.make b/build/config/tests/py_style/ya.make
index 95dab982995..49da82b628b 100644
--- a/build/config/tests/py_style/ya.make
+++ b/build/config/tests/py_style/ya.make
@@ -1,7 +1,6 @@
LIBRARY()
RESOURCE_FILES(
- config.toml
pyproject.toml
)