From 1caa6498cb0fecf441cb3f214d504443d2fd9baa Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Fri, 17 Feb 2023 18:50:16 +0100
Subject: [PATCH] mypy: Bump to 1.0.1 and fix new typing error

Related to swh/meta#4960
---
 swh/vault/in_memory_backend.py | 2 +-
 tox.ini                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/swh/vault/in_memory_backend.py b/swh/vault/in_memory_backend.py
index ee79ba0..74d6ee0 100644
--- a/swh/vault/in_memory_backend.py
+++ b/swh/vault/in_memory_backend.py
@@ -48,4 +48,4 @@ class InMemoryVaultBackend:
         raise NotImplementedError("InMemoryVaultBackend.batch_cook()")
 
     def batch_progress(self, batch_id: int) -> Dict[str, Any]:
-        pass
+        return {}
diff --git a/tox.ini b/tox.ini
index f6e3d20..89358a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,7 @@ extras =
   testing
   graph
 deps =
-  mypy==0.942
+  mypy==1.0.1
 commands =
   mypy swh
 
-- 
GitLab