This is an automated email from the ASF dual-hosted git repository.
sunggg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 0346266700 [Utils] Define line-length for "ruff format" (#17125)
0346266700 is described below
commit 0346266700b60b189de15ef3f83706bb575a898e
Author: Eric Lunderberg <[email protected]>
AuthorDate: Fri Jul 12 18:02:25 2024 -0500
[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`.
---
pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 91740f2b4b..65add46b09 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,3 +49,7 @@ exclude = '''
)/
)
'''
+
+[tool.ruff]
+line-length = 100
+indent-width = 4