Re: [PATCH] kunit: tool: Fix a python tuple typing error

2021-02-26 Thread Brendan Higgins
On Mon, Feb 22, 2021 at 9:49 PM 'David Gow' via KUnit Development wrote: > > The first argument to namedtuple() should match the name of the type, > which wasn't the case for KconfigEntryBase. > > Fixing this is enough to make mypy show no python typing errors again. > > Fixes 97752c39bd ("kunit:

Re: [PATCH] kunit: tool: Fix a python tuple typing error

2021-02-22 Thread Daniel Latypov
On Mon, Feb 22, 2021 at 9:49 PM 'David Gow' via KUnit Development wrote: > > The first argument to namedtuple() should match the name of the type, > which wasn't the case for KconfigEntryBase. > > Fixing this is enough to make mypy show no python typing errors again. Ah, this is something

[PATCH] kunit: tool: Fix a python tuple typing error

2021-02-22 Thread David Gow
The first argument to namedtuple() should match the name of the type, which wasn't the case for KconfigEntryBase. Fixing this is enough to make mypy show no python typing errors again. Fixes 97752c39bd ("kunit: kunit_tool: Allow .kunitconfig to disable config items") Signed-off-by: David Gow