ruff-pycharm-plugin icon indicating copy to clipboard operation
ruff-pycharm-plugin copied to clipboard

Run `ruff` for specific code

Open LecrisUT opened this issue 1 year ago • 1 comments

I am trying to run ruff for a specific rule, but ruff-format and other auto-fixing rules are interfering. Would there be a way to run ruff for a specific code or to run without --fix? I couldn't find anything in the documentation, and just letting it be by itself with lsp enabled or running the inspection manually, it does not report the error that I am trying to fix.

LecrisUT avatar Oct 09 '24 14:10 LecrisUT

I believe ruff itself does not support partial checks/fixes. The linting/formatting always applied to the whole file.

dbzix avatar Oct 08 '25 14:10 dbzix