Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 48d40ca commit 4a70d73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/coniferest/onnx/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ def convert(
name = str(uuid4().hex)

if initial_types is None:
raise ValueError(
"Initial types are required. See usage of " "convert(...) in coniferest.onnx.convert for details"
)
raise ValueError("Initial types are required. See usage of convert(...) in coniferest.onnx.convert for details")

target_opset = target_opset if target_opset else get_maximum_opset_supported()

Expand Down

0 comments on commit 4a70d73

Please sign in to comment.