<p>Modern Python Cookbook — with lots and lots of recipes — is something you might need. Find the results of checking all these recipes here:<br /><a href="https://www.amazon.com/Modern-Python-Cookbook-updated-techniques/dp/1835466389" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">amazon.com/Modern-Python-Cookb</span><span class="invisible">ook-updated-techniques/dp/1835466389</span></a></p><p>I (reluctantly) switched from using mypy to using pyright to check all of these recipes carefully. The type alias (PEP 695) syntax wasn’t fully supported.</p><p>I didn’t find any new problems with pyright, but I did tweak my workflow a little bit to use more of pyright’s linting features.</p><p>(The mypy issue <a href="https://github.com/python/mypy/issues/15238" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/python/mypy/issues/</span><span class="invisible">15238</span></a>)</p>
Reply