diff options
| author | 2023-03-16 15:06:36 -0700 | |
|---|---|---|
| committer | 2023-03-17 12:28:18 -0600 | |
| commit | 695e26030858b27648ca107b77095fed53377b4b (patch) | |
| tree | 91b9013eb212a106fff413dd3ae22e88ab3a796c /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | kunit: fix bug of extra newline characters in debugfs logs (diff) | |
kunit: tool: add subscripts for type annotations where appropriate
E.g. for subprocess.Popen, it can be opened in `text=True` mode where it
returns strings, or `text=False` where it returns bytes.
To differentiate, you can annotate types as `Popen[str]` or
`Popen[bytes]`.
This patch should add subscripts in all the places we were missing them.
Reported-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/linux-kselftest/20230315105055.9b2be0153625.I7a2cb99b95dff216c0feed4604255275e0b156a7@changeid/
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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
