Open realsuayip opened 10 months ago
Thank you for reporting it. I will check it tonight.
@realsuayip
I have released the fixed version
as 0.0.25
.
Thank you so much.
I have this same issue currently on PyCharm 2024.1 (Professional Edition)
These are my settings, and when I hit cmd+s
it doesn't appear that ruff format
runs.
However when I run cmd+opt+l
(explicit reformat) it appears to run
@stv8 I "had" the same issue, but I don't know if the issue was:
error: Failed to code.py:50:5: Expected an indented block after function definition
code.py:50:5: E999 SyntaxError: Expected an indented block after function definition
This error was blocking the check
and the format
commands from running.
However, if I used the reformat command, it was running the format
command.
@stv8 @creat89 Thank you for reporting the issue. I will fix it.
Also experiencing this
Describe the bug
I've enabled
Run ruff when the python file saved
setting, however it does not format (as inruff format
) the file. It applies quick fixes though.Conversely,
Run ruff when Reformat Code
seems to be working fine (applying formatter and quick fixes).To Reproduce
ruff format
would modifyExpected behavior Formatter should run on save as well.
Environments (please complete the following information):