Skip to content

Commit 7abd218

Browse files
andrei-levitskiiblinkov
authored andcommitted
Move custom clang-format allowed paths to consts
Move custom clang-format allowed paths to consts commit_hash:1dacbbf763b36247ffb3ba0d9a9610356c681b09
1 parent 97b3c99 commit 7abd218

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/plugins/_dart_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def cpp_configs(cls, unit, flat_args, spec_args):
662662
class LintExtraParams:
663663
KEY = 'LINT-EXTRA-PARAMS'
664664

665-
_CUSTOM_CLANG_FORMAT_BIN_ALLOWED_PATHS = ('ads', 'bigrt', 'grut')
665+
_CUSTOM_CLANG_FORMAT_BIN_ALLOWED_PATHS = consts.CUSTOM_CLANG_FORMAT_YT_ALLOWED_PATHS
666666

667667
@classmethod
668668
def from_macro_args(cls, unit, flat_args, spec_args):

build/plugins/lib/test_const/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ class DefaultLinterConfig(Enum):
466466
'build/internal/conf/autoincludes.json',
467467
)
468468

469+
CUSTOM_CLANG_FORMAT_YT_ALLOWED_PATHS = ('ads', 'bigrt', 'grut')
470+
469471

470472
class Status(object):
471473
GOOD, XFAIL, FAIL, XPASS, MISSING, CRASHED, TIMEOUT = range(1, 8)

0 commit comments

Comments
 (0)