linux/tools/testing/kunit
Daniel Latypov b7e0b983ff kunit: tool: fix pre-existing python type annotation errors
The code uses annotations, but they aren't accurate.
Note that type checking in python is a separate process, running
`kunit.py run` will not check and complain about invalid types at
runtime.

Fix pre-existing issues found by running a type checker
$ mypy *.py

All but one of these were returning `None` without denoting this
properly (via `Optional[Type]`).

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-11-10 13:11:28 -07:00
..
configs kunit: tool: fix --alltests flag 2020-09-23 15:52:11 -06:00
test_data kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit_config.py kunit: kunit_config: Fix parsing of CONFIG options with space 2020-06-26 14:27:35 -06:00
kunit_json.py kunit: tool: allow generating test results in JSON 2020-08-31 15:40:00 -06:00
kunit_kernel.py kunit: tool: fix display of make errors 2020-10-09 14:04:09 -06:00
kunit_parser.py kunit: tool: fix pre-existing python type annotation errors 2020-11-10 13:11:28 -07:00
kunit_tool_test.py kunit: tools: fix kunit_tool tests for parsing test plans 2020-10-26 13:25:40 -06:00
kunit.py kunit: Fix kunit.py parse subcommand (use null build_dir) 2020-11-10 13:09:15 -07:00