diff options
author | 2020-10-21 15:07:52 -0700 | |
---|---|---|
committer | 2020-11-10 13:11:28 -0700 | |
commit | b7e0b983ff13714d261883e89910b0755eb12169 (patch) | |
tree | f43db605a256bb739f318f01ffba1dd0db8df835 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kunit: Fix kunit.py parse subcommand (use null build_dir) (diff) | |
download | wireguard-linux-b7e0b983ff13714d261883e89910b0755eb12169.tar.xz wireguard-linux-b7e0b983ff13714d261883e89910b0755eb12169.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions