<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in mypy.ini</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>e30f65c4 - kunit: tool: undo type subscripts for subprocess.Popen</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/kunit/mypy.ini#e30f65c4</link>
        <description>kunit: tool: undo type subscripts for subprocess.PopenWriting `subprocess.Popen[str]` requires python 3.9+.kunit.py has an assertion that the python version is 3.7+, so we shouldtry to stay backwards compatible.This conflicts a bit with commit 1da2e6220e11 (&quot;kunit: tool: fixpre-existing `mypy --strict` errors and update run_checks.py&quot;), sincemypy complains like so&gt; kunit_kernel.py:95: error: Missing type parameters for generic type &quot;Popen&quot;  [type-arg]Note: `mypy --strict --python-version 3.7` does not work.We could annotate each file with comments like  `# mypy: disable-error-code=&quot;type-arg&quot;but then we might still get nudged to break back-compat in other files.This patch adds a `mypy.ini` file since it seems like the only way todisable specific error codes for all our files.Note: run_checks.py doesn&apos;t need to specify `--config_file mypy.ini`,but I think being explicit is better, particularly since most kerneldevs won&apos;t be familiar with how mypy works.Fixes: 695e26030858 (&quot;kunit: tool: add subscripts for type annotations where appropriate&quot;)Reported-by: SeongJae Park &lt;sj@kernel.org&gt;Link: https://lore.kernel.org/linux-kselftest/20230501171520.138753-1-sj@kernel.orgSigned-off-by: Daniel Latypov &lt;dlatypov@google.com&gt;Tested-by: SeongJae Park &lt;sj@kernel.org&gt;Reviewed-by: David Gow &lt;davidgow@google.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/kunit/mypy.ini</description>
        <pubDate>Mon, 01 May 2023 18:16:10 +0000</pubDate>
        <dc:creator>Daniel Latypov &lt;dlatypov@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
