Skip to content

Commit 0346266

Browse files
authored
[Utils] Define line-length for "ruff format" (#17125)
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`.
1 parent 641ce71 commit 0346266

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ exclude = '''
4949
)/
5050
)
5151
'''
52+
53+
[tool.ruff]
54+
line-length = 100
55+
indent-width = 4

0 commit comments

Comments
 (0)