Skip to content

Commit

Permalink
Move custom clang-format allowed paths to consts
Browse files Browse the repository at this point in the history
Move custom clang-format allowed paths to consts
commit_hash:1dacbbf763b36247ffb3ba0d9a9610356c681b09
  • Loading branch information
andrei-levitskii committed Feb 21, 2025
1 parent eea35cc commit abb4e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/plugins/_dart_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def cpp_configs(cls, unit, flat_args, spec_args):
class LintExtraParams:
KEY = 'LINT-EXTRA-PARAMS'

_CUSTOM_CLANG_FORMAT_BIN_ALLOWED_PATHS = ('ads', 'bigrt', 'grut')
_CUSTOM_CLANG_FORMAT_BIN_ALLOWED_PATHS = consts.CUSTOM_CLANG_FORMAT_YT_ALLOWED_PATHS

@classmethod
def from_macro_args(cls, unit, flat_args, spec_args):
Expand Down
2 changes: 2 additions & 0 deletions build/plugins/lib/test_const/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@ class DefaultLinterConfig(Enum):
'build/internal/conf/autoincludes.json',
)

CUSTOM_CLANG_FORMAT_YT_ALLOWED_PATHS = ('ads', 'bigrt', 'grut')


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

0 comments on commit abb4e98

Please sign in to comment.