Add f-string formatting to the docs (#15367)

Revive https://github.com/astral-sh/ruff/pull/15341 as it got removed
from the latest rebase in https://github.com/astral-sh/ruff/pull/15238.
This commit is contained in:
Dhruv Manilawala 2025-01-09 13:26:22 +05:30 committed by Micha Reiser
parent 29f6653318
commit f706c3fdf2
4 changed files with 119 additions and 18 deletions

View file

@ -19,7 +19,7 @@ filed in the issue tracker. If you've identified a new deviation, please [file a
When run over _non_-Black-formatted code, the formatter makes some different decisions than Black,
and so more deviations should be expected, especially around the treatment of end-of-line comments.
For details, see [Black compatibility](https://docs.astral.sh/ruff/formatter/#black-compatibility).
For details, see [Style Guide](https://docs.astral.sh/ruff/formatter/#style-guide).
## Getting started