diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57050db4840e1e585c1fed5d0deafb93eb3e6072..87f7799b2f5f8093eb7ff5f2382b1a89b554d51e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,8 @@ before_script:
   - python -V
   - pip install --upgrade pip
   - pip install ruff mypy
+  - pip install -e .[dev]
+
 
 format:
   stage: check
diff --git a/pyproject.toml b/pyproject.toml
index 892eaa7da2d37f804aedece4cf5a9f50d140ceb2..7be6dc05a74fc9a15a6cc9f23d8c4028a01590ce 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,6 +11,10 @@ dependencies = [
     "python-ldap>=3.4.4",
     "Flask-Limiter>=3.12.0",
 ]
+[project.optional-dependencies]
+dev = [
+    "types-Flask-SocketIO >= 5.5.1",
+]
 
 [tool.mypy]
 python_version = "3.8"