Ruff Is Used by Apache Airflow, FastAPI, Pandas, SciPy, and Hugging Face
Open the landing page for Ruff and you will find a row of project logos that reads like a roll call of the Python ecosystem: Apache Airflow, Apache Superset, FastAPI, Hugging Face, Pandas, and SciPy. For a linter that first appeared in August 2022, that is a remarkable guest list. These are not small side projects. They are libraries with hundreds of contributors, decade old code bases, and review processes that reject changes for reasons far smaller than swapping a linting tool. When projects of that size agree on the same code quality tool, it is worth asking what convinced them.
The technical answer starts with speed. Ruff is written in Rust and runs ten to one hundred times faster than the established Python linters and formatters it replaces. Charlie Marsh, the author of Ruff, published a note in August 2022 explaining the gap in concrete numbers: roughly 150 times faster than Flake8 on macOS, about 25 times faster if Flake8 is hacked to use multiprocessing, around 75 times faster than pycodestyle. Those are not micro benchmarks on a toy file. They come from running the tools across a real code base where the difference is measured in seconds of developer waiting time.
Why does linting speed matter so much at the scale of Pandas or SciPy? Because those repositories contain tens of thousands of lines of Python and decades of accumulated style decisions. Running a linter over that much code inside a continuous integration pipeline used to be a chore that teams scheduled carefully or skipped locally. Once linting takes under a second, the incentives flip. You can run it on save in your editor, on every commit in a pre-commit hook, and on every pull request without the pipeline stalling. Slow linting is a tax people avoid. Fast linting is a habit people keep.
Parity is the second reason those projects could migrate at all. Ruff does not merely imitate Flake8 in spirit. It ports the rules from Flake8 and dozens of its plugins natively, along with the checks people relied on from isort, pydocstyle, pyupgrade, and autoflake. It also ships a formatter intended to stand in for Black. For a maintainer who has thousands of noqa comments and configuration entries that encode years of decisions, the ability to keep the same rule names and mostly the same behavior is what makes the switch a configuration change rather than a rewrite.
There is a broader pattern worth noticing too. The projects that adopted Ruff early sit in the scientific and data ecosystem, the part of Python that cares most about performance and reproducibility, and they adopted a Rust binary to check Python source. That same shift is visible across the toolchain now, in package management, environment solving, and type checking. If you maintain Python code today, Rust based tooling is no longer an unusual choice to justify to your team. It is close to the default.
In day to day work, the practical path is to add Ruff with its own configuration block, start from a rule set close to what you already run, and let it fix the safe issues automatically while you review everything else. Restrict formatting to the files you touch on a first pass so reviewers are not buried in a huge diff, then widen it. Pin the version in your lockfile, because lint rules change between releases, and treat new rules as pull requests rather than surprises in a nightly build.
One caveat worth holding on to: adoption by famous projects is not proof that a tool is finished. Ruff is younger than most of the code bases using it, and not every Flake8 plugin has a native equivalent yet, which means some teams still run an older linter alongside it for a specific check. The sensible stance is to verify that the rules you depend on are covered before you delete the old tool. But when Airflow, FastAPI, Pandas, SciPy, and Hugging Face all decide the same binary is good enough for their main branches, that is about as strong a signal as the Python community produces.