From 5ccdb6abc504e021c73c255bbc212b3a4e455d5e Mon Sep 17 00:00:00 2001 From: Joris Slagter Date: Wed, 24 Dec 2025 07:12:10 +0100 Subject: [PATCH] fix: add future annotations import to discovery.py (#229) Adds 'from __future__ import annotations' to spec/discovery.py for Python 3.9+ compatibility with type hints. This completes the Python compatibility fixes that were partially applied in previous commits. All 26 analysis and spec Python files now have the future annotations import. Related: #128 Co-authored-by: Joris Slagter --- apps/backend/spec/discovery.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/backend/spec/discovery.py b/apps/backend/spec/discovery.py index a5dd8f9d..518627f1 100644 --- a/apps/backend/spec/discovery.py +++ b/apps/backend/spec/discovery.py @@ -5,6 +5,8 @@ Discovery Module Project structure analysis and indexing. """ +from __future__ import annotations + import json import shutil import subprocess