Skip to content

Commit

Permalink
DOC: write ⌘ instead of Command
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 1, 2024
1 parent c9e3e51 commit 41906c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ Notebooks are automatically formatted through {ref}`pre-commit <develop:Pre-comm

For this, you need to set Ruff as the formatter (see [](#formatting)) for `jupyterlab-code-formatter`:

1. Open Jupyter Lab Settings ({kbd}`Ctrl+,` / {kbd}`Command+,`).
1. Open Jupyter Lab Settings ({kbd}`Ctrl+,` / {kbd}`+,`).
2. Select the "Jupyterlab Code Formatter" plugin from the left sidebar.
3. Under `default_formatter`, list two Python formatters: `ruffformat` and `ruff`. The first is the actual [Ruff formatter](https://docs.astral.sh/ruff/formatter) that mimics `black`, the second is for Ruff auto-fixes of linting rules. (The default formatters are `isort` and `black`—you should overwrite these.) <!-- cspell:ignore ruffformat -->
4. **Optional:** Activate format-on-save by ticking "Auto format config".
Expand Down

0 comments on commit 41906c7

Please sign in to comment.