Nitpick flags Literal annotation values as missing py:class Describe the bug
Nitpick flags Literal annotation values as missing py:class Describe the bug: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When a value is present in a type annotation as Literal , sphinx will treat the value as a py:class . With nitpick enabled, values like Literal True end up failing…
The task
When a value is present in a type annotation as `Literal`, sphinx will treat the value as a `py:class`. With nitpick enabled, values like `Literal[True]` end up failing, because `True` is not a class.
Part of Lego-X/Lego-RL-SWE-Bench-Verified.