This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
The following commit(s) were added to refs/heads/main by this push:
new 23500b5 chore(lint): Add Taplo for TOML (#33)
23500b5 is described below
commit 23500b56a07553b4551908c80d0445538f160494
Author: Junru Shao <[email protected]>
AuthorDate: Sat Sep 20 06:10:53 2025 -0700
chore(lint): Add Taplo for TOML (#33)
This PR adds a linter for TOML, which is mostly used as pyproject
configuration.
---
.pre-commit-config.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f31f7f3..8ea7c4a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -51,6 +51,10 @@ repos:
- id: trailing-whitespace
- id: check-yaml
- id: check-toml
+ - repo: https://github.com/ComPWA/taplo-pre-commit
+ rev: v0.9.3
+ hooks:
+ - id: taplo-format
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.3
hooks: