From 9d8bc93f34f4d96d1750b8064a98a67cfc73d182 Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Wed, 27 Dec 2023 10:08:53 +0100
Subject: [PATCH] add YAML types library

---
 gso/cli/imports.py | 2 +-
 requirements.txt   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gso/cli/imports.py b/gso/cli/imports.py
index 9bdf8e79..6aa55c5d 100644
--- a/gso/cli/imports.py
+++ b/gso/cli/imports.py
@@ -6,7 +6,7 @@ from pathlib import Path
 from typing import TypeVar
 
 import typer
-import yaml  # type: ignore[import-untyped]
+import yaml
 from pydantic import ValidationError
 
 from gso.api.v1.imports import (
diff --git a/requirements.txt b/requirements.txt
index c2e839b4..ca077d36 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,6 +9,7 @@ celery==5.3.4
 # Test and linting dependencies
 celery-stubs==0.1.3
 types-requests==2.31.0.1
+types-PyYAML==6.0.12.12
 pytest==7.4.3
 faker==19.13.0
 responses==0.24.0
-- 
GitLab