message: Reformat python code with yapf.
  yapf log_parser.py -i --style='{based_on_style: pep8, indent_width: 2}'
diff: @@ -185,8 +185,7 @@ def renode_log_parser(data, output, ignore_list=None):
  ignore_count = 0
  processed = []
  for idx, line in enumerate(data):
  - print("Processing {:.2f}%".format((idx + 1) / len(data) * 100.),
  - end="\r")
  + print("Processing {:.2f}%".format((idx + 1) / len(data) * 100.), end="\r")
  if message not in line:
  continue
  @@ -205,8 +204,7 @@ def renode_log_parser(data, output, ignore_list=None):
  processed.append(entry)
  - print(
  - "Extracted {} lines ({:.2f}%); {} lines are ignored ({:.2f}%)".format(
  + print("Extracted {} lines ({:.2f}%); {} lines are ignored ({:.2f}%)".format(
  len(processed),
  len(processed) / len(data) * 100., ignore_count,
  ignore_count / len(data) * 100.))
  @@ -314,14 +312,14 @@ if __name__ == "__main__":
  default="gdb",
  choices=["gdb", "renode"],
  help="Source of where the log is captured")
  - parser.add_argument("--ignore",
  + parser.add_argument(
  + "--ignore",
  type=str,
  help="List of functions (one for each line in the file) to \
  ignore after parsing.")
  - parser.add_argument("--full-trace",
  - action="store_true",
  - help="")
  - parser.add_argument("--title", type=str,
  + parser.add_argument("--full-trace", action="store_true", help="")
  + parser.add_argument("--title",
  + type=str,
  help="Set title for the visualized image")
  args = parser.parse_args()
  