summaryrefslogtreecommitdiffstats
path: root/build/plugins/lib
diff options
context:
space:
mode:
authoralevitskii <[email protected]>2025-11-12 20:00:46 +0300
committeralevitskii <[email protected]>2025-11-12 21:31:27 +0300
commit2a2ebd9d331c090f8dbc4717d9cc65dbb9bb5a14 (patch)
treed42d651b689e5ffea23a5e978b2132e721b9e76f /build/plugins/lib
parent9bdbf3b4915f7f9f02ea86626775b3cf0009cb79 (diff)
Rename yamlfmt_format_yaml to yamlfmt
commit_hash:588132a9b4af452c728f2270eb659e6c2026cea3
Diffstat (limited to 'build/plugins/lib')
-rw-r--r--build/plugins/lib/test_const/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/lib/test_const/__init__.py b/build/plugins/lib/test_const/__init__.py
index 9c07c71c6de..ad38ef1d661 100644
--- a/build/plugins/lib/test_const/__init__.py
+++ b/build/plugins/lib/test_const/__init__.py
@@ -467,7 +467,7 @@ class CppLinterName(Enum):
class CustomExplicitLinterName(Enum):
ClangFormatJson = "clang_format_json"
- YamlfmtFormatYaml = "yamlfmt_format_yaml"
+ Yamlfmt = "yamlfmt"
Yqlfmt = "yqlfmt"
@@ -490,7 +490,7 @@ LINTER_TO_GLOBAL_RESOURCES = {
PythonLinterName.Py2Flake8: (('build/external_resources/flake8_py2', FLAKE8_PY2_RESOURCE),),
CppLinterName.ClangFormat: (('build/platform/clang/clang-format', CLANG_FORMAT_RESOURCE),),
CustomExplicitLinterName.ClangFormatJson: (('build/platform/clang/clang-format', CLANG_FORMAT_RESOURCE),),
- CustomExplicitLinterName.YamlfmtFormatYaml: (('build/external_resources/yamlfmt', YAMLFMT_FORMAT_RESOURCE),),
+ CustomExplicitLinterName.Yamlfmt: (('build/external_resources/yamlfmt', YAMLFMT_FORMAT_RESOURCE),),
CustomExplicitLinterName.Yqlfmt: (('build/external_resources/yql-lint', YQLLINT_RESOURCE),),
}
@@ -500,7 +500,7 @@ LINTER_TO_DEFAULT_CONFIGS = {
PythonLinterName.Black: DefaultLinterConfig.Python,
PythonLinterName.Ruff: DefaultLinterConfig.Python,
CustomExplicitLinterName.ClangFormatJson: DefaultLinterConfig.Json,
- CustomExplicitLinterName.YamlfmtFormatYaml: DefaultLinterConfig.Yaml,
+ CustomExplicitLinterName.Yamlfmt: DefaultLinterConfig.Yaml,
}
# Fill up like
@@ -520,7 +520,7 @@ LINTER_CONFIG_TYPES = {
PythonLinterName.Black: ("pyproject.toml",),
PythonLinterName.Ruff: ("pyproject.toml", "ruff.toml"),
CustomExplicitLinterName.ClangFormatJson: (".clang-format",),
- CustomExplicitLinterName.YamlfmtFormatYaml: (".yamlfmt.yml",),
+ CustomExplicitLinterName.Yamlfmt: (".yamlfmt.yml",),
}
AUTOINCLUDE_PATHS = (