mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
![]() ## Summary Now that Ruff provides a formatter, there is no need to rely on Black to check that the docs are formatted correctly in `check_docs_formatted.py`. This PR swaps out Black for the Ruff formatter and updates inconsistencies between the two. This PR will be a precursor to another PR ([branch](https://github.com/calumy/ruff/tree/format-pyi-in-docs)), updating the `check_docs_formatted.py` script to check for pyi files, fixing #11568. ## Test Plan - CI to check that the docs are formatted correctly using the updated script. |
||
---|---|---|
.. | ||
.overrides/partials/integrations/analytics | ||
assets | ||
editors | ||
formatter | ||
js | ||
stylesheets | ||
.gitignore | ||
configuration.md | ||
faq.md | ||
formatter.md | ||
installation.md | ||
integrations.md | ||
linter.md | ||
preview.md | ||
requirements-insiders.txt | ||
requirements.txt | ||
tutorial.md | ||
versioning.md |