projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kunit: tool: undo type subscripts for subprocess.Popen
[linux-2.6-microblaze.git]
/
tools
/
testing
/
kunit
/
mypy.ini
diff --git a/tools/testing/kunit/mypy.ini
b/tools/testing/kunit/mypy.ini
new file mode 100644
(file)
index 0000000..
ddd2883
--- /dev/null
+++ b/
tools/testing/kunit/mypy.ini
@@ -0,0
+1,6
@@
+[mypy]
+strict = True
+
+# E.g. we can't write subprocess.Popen[str] until Python 3.9+.
+# But kunit.py tries to support Python 3.7+, so let's disable it.
+disable_error_code = type-arg