-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
formatterRelated to the formatterRelated to the formattersuppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa
Milestone
Description
# fmt: skip should have a comment section to allow developers to explain why they don't want to format
my motives are to allow partial grouping of array inputs.
data that was requested:
python file:
commands_to_run = [
"./command.sh",
"-n", "5",
"-v",
] # fmt: skip - reason for skipping
command:
ruff format --isolated <file.py>
output:
list_of_items = [
"./command.sh",
"-n",
"5",
"-v",
] # fmt: skip - reason for skipping
$ ruff --version
ruff 0.1.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
formatterRelated to the formatterRelated to the formattersuppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa