From 1fd5dd932a77d465780fee837e6b18de4b9d9b1a Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Fri, 22 Sep 2023 15:26:29 +0200
Subject: [PATCH] increased specificity of mypy ignore statements

---
 lso/routes/default.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lso/routes/default.py b/lso/routes/default.py
index e79bf02..246850b 100644
--- a/lso/routes/default.py
+++ b/lso/routes/default.py
@@ -16,8 +16,8 @@ router = APIRouter()
 class Version(BaseModel):
     """Simple model for returning a version number of both the API and the `goat-lso` module."""
 
-    api: VERSION_STRING  # type: ignore
-    module: VERSION_STRING  # type: ignore
+    api: VERSION_STRING  # type: ignore[valid-type]
+    module: VERSION_STRING  # type: ignore[valid-type]
 
 
 @router.get("/version")
-- 
GitLab