aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniel Latypov <dlatypov@google.com>2020-10-21 15:07:52 -0700
committerShuah Khan <skhan@linuxfoundation.org>2020-11-10 13:11:28 -0700
commitb7e0b983ff13714d261883e89910b0755eb12169 (patch)
treef43db605a256bb739f318f01ffba1dd0db8df835 /tools/perf/scripts/python/stackcollapse.py
parent3959d0a63b3202ea2aa12b3f6effd5400d773d31 (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions