Skip to content

Commit

Permalink
docs: add --formatter=pyupgrade to README
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jan 2, 2025
1 parent 95966a0 commit 3a3c525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ The following `command line arguments`_ can also be used to modify the defaults:
versions that should be supported by Black's output. [default: per-file auto-
detection]
--formatter FORMATTER
[black\|none\|ruff] Formatter to use for reformatting code. [default: black]
[black\|none\|pyupgrade\|ruff] Formatter to use for reformatting code. [default:
black]

To change default values for these options for a given project,
add a ``[tool.darker]`` section to ``pyproject.toml`` in the project's root directory,
Expand Down

0 comments on commit 3a3c525

Please sign in to comment.