---
title: "💭 flake8-to-ruff · PyPI"
description: "!https://pypi.org/project/flake8-to-ruff/"
date: 2024-03-09
published: true
tags:
  - python
  - linting
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://pypi.org/project/flake8-to-ruff/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://pypi.org/static/images/twitter.abaf4b19.webp" alt="flake8-to-ruff — Convert existing Flake8 configuration to Ruff." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">flake8-to-ruff</div>
      <div class="embed-card-description">Convert existing Flake8 configuration to Ruff.</div>
      <div class="embed-card-meta">PyPI &middot; pypi.org</div>
    </div>
  </a>
</div>


Underrated python library to on board ruff, or just use it on a project where its not the norm.  ruff claims that its 99.9% compatible with black and when you read through the known differences they are clearly edge case bugs in black.

> See this page for more about the comparison to black https://docs.astral.sh/ruff/faq/#how-does-ruffs-formatter-compare-to-black

oh and I just noticed that it is maintianed by Charlie, and comes straight out of astral.

!!! 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>
