Skip to content

Commit 0fd5113

Browse files
fix: add missing __future__ imports for Python 3.9 compat (bulk_init, bulk_run, cli_plugin_helpers, custom_fix, _gate_collectors, parallel)
1 parent 5269b43 commit 0fd5113

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

pyqual/_gate_collectors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
``_COLLECTORS`` is the ordered list used by GateSet._collect_metrics.
55
"""
66

7+
from __future__ import annotations
8+
79
import json
810
import re
911
from pathlib import Path

pyqual/bulk_init.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
pyqual bulk-init /path/to/workspace --no-llm # heuristic-only fallback
1010
"""
1111

12+
from __future__ import annotations
13+
1214
import json
1315
import logging
1416
import re

pyqual/bulk_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
pyqual bulk-run /path/to/workspace --dry-run
1111
"""
1212

13+
from __future__ import annotations
14+
1315
import subprocess
1416
import threading
1517
import time

pyqual/cli_plugin_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Plugin command helper functions for pyqual CLI."""
22

3+
from __future__ import annotations
4+
35
from pathlib import Path
46

57
import typer

pyqual/custom_fix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
"""Custom fix script using litellm with explicit model selection and patch application."""
33

4+
from __future__ import annotations
5+
46
import os
57
import sys
68
import json

pyqual/parallel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Parallel task executor for distributing TODO items across multiple fix tools."""
22

3+
from __future__ import annotations
4+
35
import logging
46
import os
57
import subprocess

0 commit comments

Comments
 (0)