From ef6e6aeb6796124bded8238860da00972e9aaf10 Mon Sep 17 00:00:00 2001 From: Annie Tallund Date: Tue, 11 Apr 2023 09:29:56 +0200 Subject: MLIA-849 Update mypy version and fix associated issues - Remove unused silencing of typing - Amend None type hints where it is default Change-Id: Id972b56dcdce865bf6c9d6aea88bc76baf39133e --- src/mlia/core/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mlia/core') diff --git a/src/mlia/core/context.py b/src/mlia/core/context.py index d3fa606..6e699be 100644 --- a/src/mlia/core/context.py +++ b/src/mlia/core/context.py @@ -105,7 +105,7 @@ class ExecutionContext(Context): def __init__( self, *, - advice_category: set[AdviceCategory] = None, + advice_category: set[AdviceCategory] | None = None, config_parameters: Mapping[str, Any] | None = None, output_dir: str | Path | None = None, event_handlers: list[EventHandler] | None = None, -- cgit v1.2.1