Found by /verify-implementation plan-0ca7b7 (fix-override lane, 2026-09-27); pre-existing at BASE acd1d40 unless noted.
import sharpy.generators as sg
class G(sg.SourceGenerator):
def generate(self, context: sg.GeneratorContext) -> sg.GeneratorOutput:
return sg.GeneratorOutput("")
This fails with SPY0445 "must be of type 'GeneratorContext', got 'sg.GeneratorContext'". The unqualified from sharpy.generators import ... spelling passes. The validator compares the annotation's text, not the resolved type (the same class as bd2dd0a's __format__ fix in plan-0ca7b7 verification). Class contract: signature validators compare resolved types.
Found by /verify-implementation plan-0ca7b7 (fix-override lane, 2026-09-27); pre-existing at BASE acd1d40 unless noted.
This fails with SPY0445 "must be of type 'GeneratorContext', got 'sg.GeneratorContext'". The unqualified
from sharpy.generators import ...spelling passes. The validator compares the annotation's text, not the resolved type (the same class as bd2dd0a's__format__fix in plan-0ca7b7 verification). Class contract: signature validators compare resolved types.