From c99417ffe8aa51015f08a96220072fa0dbcce51d Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 24 May 2023 22:52:59 -0400 Subject: [PATCH] Change example from `%%writeline` to `%%writefile` (#3673) --- docs/faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index a6a422c..8941ca3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -57,8 +57,8 @@ _Black_ is timid about formatting Jupyter Notebooks. Cells containing any of the following will not be formatted: - automagics (e.g. `pip install black`) -- non-Python cell magics (e.g. `%%writeline`). These can be added with the flag - `--python-cell-magics`, e.g. `black --python-cell-magics writeline hello.ipynb`. +- non-Python cell magics (e.g. `%%writefile`). These can be added with the flag + `--python-cell-magics`, e.g. `black --python-cell-magics writefile hello.ipynb`. - multiline magics, e.g.: ```python -- 2.39.5