Skip to content

Commit c754888

Browse files
committed
docs: update usage example to include filename in format function
1 parent 215d14a commit c754888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ with custom options:
4646
import init, { format } from "@wasm-fmt/ruff_fmt";
4747

4848
// ...
49-
const formatted = format(input, {
49+
const formatted = format(input, "main.py", {
5050
indent_style: "space",
5151
indent_width: 4,
5252
line_width: 88,

0 commit comments

Comments
 (0)