danzin<p>At last, submitted a proposal for a <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> source code annotator for <a href="https://mastodon.social/tags/wily" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wily</span></a>, by <span class="h-card" translate="no"><a href="https://fosstodon.org/@tonybaloney" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>tonybaloney</span></a></span>.</p><p>It allows inline visualization of code metrics in source code, inspired by <span class="h-card" translate="no"><a href="https://hachyderm.io/@coveragepy" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>coveragepy</span></a></span> </p><p>Uses <a href="https://mastodon.social/tags/radon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>radon</span></a> to calculate <a href="https://mastodon.social/tags/Cyclomatic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cyclomatic</span></a> <a href="https://mastodon.social/tags/Complexity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Complexity</span></a> and <a href="https://mastodon.social/tags/Halstead" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Halstead</span></a> metrics, then adds color coded metric values to a <a href="https://mastodon.social/tags/Pygments" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pygments</span></a> highlighted source listing and allows changing the metrics for visualization.</p><p>The code works, there are screenshots and an example in the linked issue.</p><p><a href="https://mastodon.social/tags/codequality" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>codequality</span></a> </p><p><a href="https://github.com/tonybaloney/wily/issues/217" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tonybaloney/wily/is</span><span class="invisible">sues/217</span></a></p>