This rule could've caught an issue in pywin32 (mhammond/pywin32#2416). I think it's a valid rule to enforce on runtime files to prevent incorrect expectations.
MRE:
if sys.version_info > (3, 10): # PYI006 only shows here in .pyi files
print("Do something on Python 3.11")
Command: ruff check --select=PYI
Version: ruff 0.7.0