jtmoulia 🐁<p>A guide on integrating <a href="https://mstdn.social/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> + <a href="https://mstdn.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> + <a href="https://mstdn.social/tags/hatch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hatch</span></a> using [mostly] builtin tooling and project local .dir-locals.el variables.</p><p>Specifically, this setup uses <a href="https://mstdn.social/tags/Eglot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Eglot</span></a> + <a href="https://mstdn.social/tags/pyright" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pyright</span></a> for live syntax checking, <a href="https://mstdn.social/tags/pytest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pytest</span></a> for code running, <a href="https://mstdn.social/tags/MyPy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MyPy</span></a> for type-checking, and <a href="https://mstdn.social/tags/IPython" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IPython</span></a> as the shell</p><p>Feedback would be welcome -- trying to get it robust + idiomatic.</p><p><a href="https://jtmoulia.srht.site/guides/emacs-python-hatch/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jtmoulia.srht.site/guides/emac</span><span class="invisible">s-python-hatch/</span></a></p>