Skip to content

Commit 4934ae4

Browse files
authored
Filter "Processing file" lines out of clang-tidy output (#359)
``` == clang-tidy /home/tav/frc/wpilib/allwpilib/benchmark/src/main/native/cpp/Main.cpp == [1/1] (1/2) Processing file /home/tav/frc/wpilib/allwpilib/benchmark/src/main/native/cpp/Main.cpp. [1/1] (2/2) Processing file /home/tav/frc/wpilib/allwpilib/benchmark/src/main/native/cpp/Main.cpp. ```
1 parent 392055b commit 4934ae4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wpiformat/wpiformat/clangtidy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def run_standalone(self, config_file: Config, filename: Path) -> bool:
6060
# Filter out "Error while processing" lines
6161
lines = [l for l in lines if "Error while processing" not in l]
6262

63+
# Filter out "Processing file" lines
64+
lines = [l for l in lines if "Processing file" not in l]
65+
6366
# Ignore include file not found errors
6467
filtered_lines = []
6568
iterlines = iter(lines)

0 commit comments

Comments
 (0)