You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cliRelated to the command-line interface of Ruff or tyconfigurationRelated to settings and configuration of Ruff or tyformatterRelated to the Ruff formatter
I would like Ruff to fix all errors before formatting the code.
The formatting at the end could be enabled/disabled via configuration in a dedicated setting like ruff.format.run_after_fix.
This workflow would be similar to my current use of pre-commit where I run Ruff then Black.
@JonathanPlasse we very much would like that too. But we intentionally exclude integrating the formatter into our fix infrastructure for now not to explode scope. We hope to play around with integrating our formatter once it is stable.
cliRelated to the command-line interface of Ruff or tyconfigurationRelated to settings and configuration of Ruff or tyformatterRelated to the Ruff formatter
Activity
[-]linter/formatter interaction[/-][+]Formatter / Linter integration[/+]JonathanPlasse commentedon Sep 12, 2023
I would like Ruff to fix all errors before formatting the code.
The formatting at the end could be enabled/disabled via configuration in a dedicated setting like
ruff.format.run_after_fix.This workflow would be similar to my current use of pre-commit where I run Ruff then Black.
MichaReiser commentedon Sep 15, 2023
@JonathanPlasse we very much would like that too. But we intentionally exclude integrating the formatter into our fix infrastructure for now not to explode scope. We hope to play around with integrating our formatter once it is stable.