mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
fix for indentation in line profiler output
This commit is contained in:
parent
7ffe25f757
commit
d24d24c25c
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def show_func(filename, start_lineno, func_name, timings, unit):
|
|||
if 'def' in line_ or nhits!='':
|
||||
table_rows.append((nhits, time, per_hit, percent, line_))
|
||||
pass
|
||||
out_table+= tabulate(headers=table_cols,tabular_data=table_rows,tablefmt="pipe")
|
||||
out_table+= tabulate(headers=table_cols,tabular_data=table_rows,tablefmt="pipe",colglobalalign=None, preserve_whitespace=True)
|
||||
out_table+='\n'
|
||||
return out_table
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue