Skip to content

Commit de32082

Browse files
authored
fix: DH-20482: Added Type Hint to Benchmark Truncation Function
1 parent 9d95aa1 commit de32082

File tree

1 file changed

+1
-1
lines changed
  • src/main/resources/io/deephaven/benchmark/run/profile/queries

1 file changed

+1
-1
lines changed

src/main/resources/io/deephaven/benchmark/run/profile/queries/publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def latest_comparable_benchmarks(filter_table):
6464
'Change=Decimal(`0.0%`)','Since_Release=Decimal(`0.0%`)',
6565
'Score=Decimal(`0.0`)','Score_Prob=Decimal(`0.00%`)'])
6666

67-
def benchname(name):
67+
def benchname(name) -> str:
6868
btype = 'S' if name.endswith('-Static') else 'I'
6969
name = name.replace(' -Static','').replace(' -Inc','')
7070
name = truncate(name, 50)

0 commit comments

Comments
 (0)