linux-stable/tools/testing/kunit/mypy.ini

7 lines
181 B
INI

[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