Skip to content

Commit

Permalink
Fix more f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored Aug 30, 2024
1 parent 90ee323 commit 447bd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/kvikio/kvikio/_lib/libnvcomp_ll.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ class nvCompBatchAlgorithmGdeflate(nvCompBatchAlgorithm):
elif isinstance(algo, int):
self.options = nvcompBatchedGdeflateOpts_t(algo)
else:
raise ValueError("Invalid value for algo: {algo}")
raise ValueError(f"Invalid value for algo: {algo}")

def _get_comp_temp_size(
self,
Expand Down Expand Up @@ -1060,7 +1060,7 @@ class nvCompBatchAlgorithmDeflate(nvCompBatchAlgorithm):
elif isinstance(algo, int):
self.options = nvcompBatchedDeflateOpts_t(algo)
else:
raise ValueError("Invalid value for algo: {algo}")
raise ValueError(f"Invalid value for algo: {algo}")

def _get_comp_temp_size(
self,
Expand Down

0 comments on commit 447bd3c

Please sign in to comment.