ruff/docs
Calum Young ab3648c4c5
Format docs with ruff formatter (#13087)
## 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.
2024-08-26 21:25:10 +05:30
..
.overrides/partials/integrations/analytics Move some MkDocs responsibilities around (#5542) 2023-07-05 22:06:01 +00:00
assets Update docs to match updated logo and color palette (#5283) 2023-06-22 11:19:34 -04:00
editors Include all required keys for Zed settings (#13082) 2024-08-23 16:18:05 +00:00
formatter Correct parenthesized long nested-expressions example to match Ruff's output (#12153) 2024-07-03 10:03:08 +02:00
js Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
stylesheets Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
.gitignore Add docs for Ruff language server (#12344) 2024-07-18 17:41:43 +05:30
configuration.md Stabilize support for Jupyter Notebooks (#12878) 2024-08-14 18:15:45 +02:00
faq.md Stabilize support for Jupyter Notebooks (#12878) 2024-08-14 18:15:45 +02:00
formatter.md docs: Lint -> Format in formatter.md (#10777) 2024-04-04 16:50:55 +00:00
installation.md Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
integrations.md Bump version to 0.6.2 (#13056) 2024-08-22 18:59:27 +05:30
linter.md Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
preview.md Spellcheck & grammar (#10375) 2024-03-13 02:34:23 +00:00
requirements-insiders.txt Update dependency mkdocs to v1.6.0 (#12828) 2024-08-12 11:49:49 +05:30
requirements.txt Format docs with ruff formatter (#13087) 2024-08-26 21:25:10 +05:30
tutorial.md Improvements to documentation (#12712) 2024-08-12 07:17:32 +00:00
versioning.md Update versioning policy for editor integration (#12375) 2024-07-18 15:17:36 +00:00