Skip to content

Commit

Permalink
[Utils] Define line-length for "ruff format" (#17125)
Browse files Browse the repository at this point in the history
The `ruff format` tool is an alternative to the `black` formatter,
with significantly improved performance.  This commit updates the
`pyproject.toml` to include a configuration for `ruff format`, matched
to the configuration of `black`.
  • Loading branch information
Lunderberg authored Jul 12, 2024
1 parent 641ce71 commit 0346266
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ exclude = '''
)/
)
'''

[tool.ruff]
line-length = 100
indent-width = 4

0 comments on commit 0346266

Please sign in to comment.