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/target/tosa/reporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mlia/target/tosa/reporters.py') diff --git a/src/mlia/target/tosa/reporters.py b/src/mlia/target/tosa/reporters.py index decae0c..e10f047 100644 --- a/src/mlia/target/tosa/reporters.py +++ b/src/mlia/target/tosa/reporters.py @@ -166,6 +166,6 @@ def tosa_formatters(data: Any) -> Callable[[Any], Report]: return report_tosa_compatibility if isinstance(data, TFLiteCompatibilityInfo): - return report_tflite_compatiblity # type: ignore + return report_tflite_compatiblity raise Exception(f"Unable to find appropriate formatter for {data}") -- cgit v1.2.1