Skip to content

[formatter] target-python option #8051

@smackesey

Description

@smackesey

Working on migrating our formatter setup to ruff. I noticed this does not work:

ruff format --target-python=py38 .

Does the target-python setting not affect the formatter? Black has this setting.

Related, ruff format --line-length=100 . does work, but line-length isn't listed under ruff format --help.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions