diff --git a/docs/preview.md b/docs/preview.md index 1cdcab0729..1bea9e451d 100644 --- a/docs/preview.md +++ b/docs/preview.md @@ -32,14 +32,14 @@ To enable preview style formatting without enabling any preview lint rules: === "pyproject.toml" ```toml - [tool.ruff.preview] + [tool.ruff.format] preview = true ``` === "ruff.toml" ```toml - [preview] + [format] preview = true ```