sphinx icon indicating copy to clipboard operation
sphinx copied to clipboard

fix annotation for directives.other.Include.run

Open danieleades opened this issue 1 year ago • 3 comments

the return type here should be Sequence rather than list since it uses the super class method which is typed as Sequence

danieleades avatar Mar 03 '24 08:03 danieleades

the mypy error here is wrong, but it's wrong because the docutils-stubs type is wrong. Meaning it can't be fixed until after migrating to the typeshed stubs.

setting as draft

danieleades avatar Mar 03 '24 08:03 danieleades

Could we just ignore this one with an override instead? Or do you think it will be fixed upstream fast enough?

picnixz avatar Mar 03 '24 08:03 picnixz

Could we just ignore this one with an override instead? Or do you think it will be fixed upstream fast enough?

hopefully fixed upstream soon enough!

danieleades avatar Mar 03 '24 09:03 danieleades

Covered in #12012

AA-Turner avatar Jul 13 '24 23:07 AA-Turner