---
title: "💭 numtide/treefmt: one CLI to format your repo [maintainers=@zim..."
description: "!https://github.com/numtide/treefmt"
date: 2025-06-08
published: true
tags:
  - dev
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/numtide/treefmt" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://opengraph.githubassets.com/9eedac8e1beca162fb31b3aea22d139ae7fbd02776403aac30d8f40b72aafd03/numtide/treefmt" alt="GitHub - numtide/treefmt: the formatter multiplexer [maintainers=@zimbatm,@brianmcgee] — the formatter multiplexer [maintainers=@zimbatm,@brianmcgee] - numtide/treefmt" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - numtide/treefmt: the formatter multiplexer [maintainers=@zimbatm,@brianmcgee]</div>
      <div class="embed-card-description">the formatter multiplexer [maintainers=@zimbatm,@brianmcgee] - numtide/treefmt</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


This looks like a very useful formatting tool to keep in the back of my mind.  I do a lot of python and our tool tends to be pre-commit, named after the git hook pre-commit.  It specifies a bunch of tools to run, you can run them in ci, manually, and opt into doing it before commit.  I like the simplicity of this one not needing a whole ecosystem, but rather just leveraging the cli commands from those tools.  This would probably be something that would get in the way of setup for new devs and not something I would throw on one project by itself, its another thing for everyone to figure out how to install and run on every platform, I'm sure its not hard, but being on python teams pre-commit just fits in.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
