[PATCH v6 7/8] dts: rework interactive shells
Juraj Linkeš
juraj.linkes at pantheon.tech
Wed Jun 19 14:49:29 CEST 2024
On 19. 6. 2024 12:23, Luca Vizzarro wrote:
> The way nodes and interactive shells interact makes it difficult to
> develop for static type checking and hinting. The current system relies
> on a top-down approach, attempting to give a generic interface to the
> test developer, hiding the interaction of concrete shell classes as much
> as possible. When working with strong typing this approach is not ideal,
> as Python's implementation of generics is still rudimentary.
>
> This rework reverses the tests interaction to a bottom-up approach,
> allowing the test developer to call concrete shell classes directly,
> and let them ingest nodes independently. While also re-enforcing type
> checking and making the code easier to read.
>
> Signed-off-by: Luca Vizzarro <luca.vizzarro at arm.com>
> Reviewed-by: Paul Szczepanek <paul.szczepanek at arm.com>
Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
More information about the dev
mailing list