From e5a0bc3ecd4d9c46ead3b8217584eaa916a3afa4 Mon Sep 17 00:00:00 2001 From: Benjamin Klimczak Date: Thu, 24 Aug 2023 16:38:47 +0100 Subject: MLIA-961 Update tox dependencies - Update version dependencies in the tox.ini - Fix linter issues Change-Id: I04c3a841ee2646a865dab037701d66c28792f2a4 Signed-off-by: Benjamin Klimczak --- src/mlia/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mlia/cli') diff --git a/src/mlia/cli/commands.py b/src/mlia/cli/commands.py index f0ba519..1f339ee 100644 --- a/src/mlia/cli/commands.py +++ b/src/mlia/cli/commands.py @@ -72,7 +72,7 @@ def check( "model.h5", compatibility=True, performance=True) """ if not model: - raise Exception("Model is not provided") + raise ValueError("Model is not provided.") # Set category based on checks to perform (i.e. "compatibility" and/or # "performance"). -- cgit v1.2.1