Skip to content

Commit bf31092

Browse files
committed
fix(updater): add 'from __future__ import annotations' for py3.9 compat
CI on 3.9 caught a real runtime error: 'str | Path | None' (PEP-604) isn't valid in 3.9 outside of stringified annotations. Adding the __future__ import makes all annotations lazy strings, fixing 3.9 without changing the type signatures.
1 parent 650a575 commit bf31092

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/claude_statusbar/updater.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"""
33
Auto-updater for claude-statusbar
44
"""
5+
from __future__ import annotations
56

67
import json
78
import logging

0 commit comments

Comments
 (0)