diff options
author | Annie Tallund <annie.tallund@arm.com> | 2023-04-11 09:29:56 +0200 |
---|---|---|
committer | Annie Tallund <annie.tallund@arm.com> | 2023-04-12 11:59:37 +0000 |
commit | ef6e6aeb6796124bded8238860da00972e9aaf10 (patch) | |
tree | 8cbda716e02fb0dce7d1b0833073bc8c61407b54 /src/mlia/core | |
parent | 8d00200d5aa2011bc91ccc688ee93caf5b6980f6 (diff) | |
download | mlia-ef6e6aeb6796124bded8238860da00972e9aaf10.tar.gz |
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
Diffstat (limited to 'src/mlia/core')
-rw-r--r-- | src/mlia/core/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |