Skip to content

Instantly share code, notes, and snippets.

@jbwhit
Last active May 13, 2024 08:10
Show Gist options
  • Save jbwhit/eecdd1cac2756df85ad165f437445b0b to your computer and use it in GitHub Desktop.
Save jbwhit/eecdd1cac2756df85ad165f437445b0b to your computer and use it in GitHub Desktop.
Steps to use `ruff` in JupyterLab with the `jupyterlab_code_formatter` plugin.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aliavni
Copy link

aliavni commented Apr 23, 2024

❤️

@amano-takahisa
Copy link

I am very happy with your config that can also reflect ruff configs written in pyproject.toml such as:

[tool.ruff.format]
quote-style = "single"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment