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 <mail@jorisslagter.nl>
This commit is contained in:
Joris Slagter
2025-12-24 07:12:10 +01:00
committed by GitHub
parent 6ec8549f63
commit 5ccdb6abc5
+2
View File
@@ -5,6 +5,8 @@ Discovery Module
Project structure analysis and indexing.
"""
from __future__ import annotations
import json
import shutil
import subprocess