# The agent runs on the CUDA base image's Python 3.10 — NOT the 3.14 that CI's # ci-python image and the repo-root ruff.toml target. Pin the agent to py310 so # ruff enforces 3.10 compatibility and never auto-applies a 3.11+/3.14-only fix # (e.g. unquoting a self-referential annotation, which PEP 649 makes safe on 3.14 # but NameErrors on 3.10). Inherit the root lint rules. extend = "../ruff.toml" target-version = "py310"