diff options
| author | robot-piglet <[email protected]> | 2025-07-30 10:07:29 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-07-30 10:24:15 +0300 |
| commit | 4e554dd5d2a9a03ef6f17cf6d3fbc3fd69b4a4d5 (patch) | |
| tree | fc18eba069739837d0704fe4b1882d3dfd3b0321 /tools | |
| parent | 4dd62df137ad534db34eaa25ad0b5571ebbc3dcb (diff) | |
Intermediate changes
commit_hash:6240b551e082b38a79d6f29f8b6191175cd5072c
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cpp_style_checker/__main__.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/cpp_style_checker/__main__.py b/tools/cpp_style_checker/__main__.py index a3d303e8584..4ca1bc3a0f9 100644 --- a/tools/cpp_style_checker/__main__.py +++ b/tools/cpp_style_checker/__main__.py @@ -65,13 +65,8 @@ def check_file(clang_format_binary, style_config_json, filename): if styled_source == actual_source: return reporter.LintStatus.GOOD, "" else: - # FIXME(YA-2574) remove retry - styled_source = subprocess.check_output(command, input=actual_source) - if styled_source == actual_source: - return reporter.LintStatus.GOOD, "" - else: - diff = make_diff(actual_source, styled_source) - return reporter.LintStatus.FAIL, diff + diff = make_diff(actual_source, styled_source) + return reporter.LintStatus.FAIL, diff def make_diff(left, right): |
