Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christine Draper committed May 23, 2024
1 parent a3d6db2 commit cf430ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion whylabs_toolkit/monitor/diagnoser/converters/granularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ def calculate_num_batches(interval: str, granularity: str) -> int:
else:
raise ValueError(f"Unsupported granularity: {granularity}")

return floor(difference)
diff_as_int: int = floor(difference)
return diff_as_int

0 comments on commit cf430ad

Please sign in to comment.