Re: [PATCH 1/2] dts: update mypy static checker

2024-05-29 Thread Juraj Linkeš
On Tue, May 14, 2024 at 1:30 PM Luca Vizzarro wrote: > > On 13/05/2024 17:02, Juraj Linkeš wrote: > >> def _filter_test_cases( > >> self, test_suite_class: type[TestSuite], test_cases_to_run: > >> Sequence[str] > >> -) -> tuple[list[MethodType], list[MethodType]]: > >> +)

Re: [PATCH 1/2] dts: update mypy static checker

2024-05-14 Thread Luca Vizzarro
On 13/05/2024 17:02, Juraj Linkeš wrote: def _filter_test_cases( self, test_suite_class: type[TestSuite], test_cases_to_run: Sequence[str] -) -> tuple[list[MethodType], list[MethodType]]: +) -> tuple[list[FunctionType], list[FunctionType]]: Does changing inspect.getmemb

Re: [PATCH 1/2] dts: update mypy static checker

2024-05-13 Thread Juraj Linkeš
> diff --git a/dts/framework/runner.py b/dts/framework/runner.py > index db8e3ba96b..d74f1871db 100644 > --- a/dts/framework/runner.py > +++ b/dts/framework/runner.py > @@ -23,7 +23,7 @@ > import re > import sys > from pathlib import Path > -from types import MethodType > +from types import Func