PyCharm plugin for ruff. This plugin provides reformat code using ruff.
MIT License
A ruff
integration plugin for JetBrains PyCharm.
See documentation for more details.
Reformat Code
with ⌥⇧ ⌘ L
or Ctrl+Alt+L
⌥⏎
or Alt+Enter
)
# noqa:
# noqa: <code>
ruff --fix
as an actionruff --fix
for a file when the file is savedruff
ruff
commandruff
executable pathruff
command as a new processruff
config file path as an optionruff
executable in Conda environmentruff
executable in WSLruff-lsp
integrationruff server
integrationpyproject.toml
and ruff.toml
without restartingruff format
for ruff version 0.0.289
or later [Experimental]ruff-lsp
for only PyCharm Pro/IDEA UltimateYou can enable it in Preferences/Settings
-> Tools
-> Ruff
-> Use ruff-lsp (Experimental) for PyCharm Pro/IDEA Ultimate
The lsp integration applies only below features:
This is experimental feature.
You can install the stable version on PyCharm's Marketplace
(Preferences -> Plugins -> Marketplace).
See the section on managing plugins in the official documentation.
See Development section of the documentation.
We are waiting for your contributions to ruff-pycharm-plugin
!