Skip to content

Commit 44e0619

Browse files
andrei-levitskiiKamil Khamitov
authored and
Kamil Khamitov
committed
Add linter configs validation rules map
Add linter configs validation rules map commit_hash:6bda49bb887fcb91b276a921dfc6add12c7c0ac5
1 parent 0496ac0 commit 44e0619

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

build/plugins/lib/test_const/__init__.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -456,13 +456,10 @@ class DefaultLinterConfig(Enum):
456456
Python = "build/config/tests/py_style/default_configs.json"
457457

458458

459-
# TODO Fill up like
460-
"""
461-
{
462-
PythonLinterName.Ruff: "build/config/tests/ruff/rules.yaml",
463-
}
464-
"""
465-
LINTER_TO_VALIDATION_CONFIG = {}
459+
class LinterConfigsValidationRules(Enum):
460+
Cpp = "build/config/tests/cpp_style/configs_validation_rules.json"
461+
Python = "build/config/tests/py_style/configs_validation_rules.json"
462+
466463

467464
LINTER_CONFIG_TYPES = {
468465
CppLinterName.ClangFormat: (".clang-format",),

0 commit comments

Comments
 (0)