diff --git a/src/scwidgets/check/_widget_check_registry.py b/src/scwidgets/check/_widget_check_registry.py index 9e0212c..9294e03 100644 --- a/src/scwidgets/check/_widget_check_registry.py +++ b/src/scwidgets/check/_widget_check_registry.py @@ -234,6 +234,7 @@ def add_check( Callable[[Check.FunOutParamsT], Check.FingerprintT] ] = None, suppress_fingerprint_asserts: bool = True, + stop_on_assert_error_raised: bool = False, ): """ Adds a new check for the specified widget. The check is defined using assert @@ -265,6 +266,7 @@ def add_check( outputs_references, fingerprint, suppress_fingerprint_asserts, + stop_on_assert_error_raised, ) self._checks[widget].append(check)