From 63fc0caf34cec5bc7690b4053be545e189b0a765 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Wed, 22 Apr 2026 00:37:43 +0200 Subject: [PATCH] pre-commit: Use oxfmt for formatting TOML files --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d96a15c..8220a5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,14 +35,13 @@ repos: hooks: - id: check-github-actions - id: check-github-workflows - - repo: https://github.com/ComPWA/taplo-pre-commit - rev: v0.9.3 - hooks: - - id: taplo-format - # The taplo-lint checks have been disabled, because they only work with - # the newest Rust version and don't respect the `rust-version` field in - # `Cargo.toml`. - # - id: taplo-lint + # The taplo-lint checks have been disabled, because they only work with + # the newest Rust version and don't respect the `rust-version` field in + # `Cargo.toml`. + # - repo: https://github.com/ComPWA/taplo-pre-commit + # rev: v0.9.3 + # hooks: + # - id: taplo-lint # Format code with oxfmt for supported file types. - repo: https://github.com/oxc-project/mirrors-oxfmt rev: v0.45.0 @@ -51,6 +50,7 @@ repos: types_or: - json - markdown + - toml - yaml - repo: https://github.com/doublify/pre-commit-rust rev: v1.0