From 04c5dff023522b0c4a026dbdbf6ad70cd6bceaf1 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Tue, 8 Sep 2026 15:03:18 +0200 Subject: [PATCH 1/3] Add tombi formatting hook to pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0dfc57479..1e655f29d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,3 +14,8 @@ repos: rev: 26.5.1 hooks: - id: black + + - repo: https://github.com/tombi-toml/tombi-pre-commit + rev: v1.5.2 + hooks: + - id: tombi-format From e5d0f94067bca67071e970c69d626310e8b651e1 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Tue, 8 Sep 2026 15:04:20 +0200 Subject: [PATCH 2/3] Fix indentation in optional dependencies section of pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 67f7e09f5..7653d3bff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dynamic = ["version"] [project.optional-dependencies] all = [ - "ultraplot[circos,docs,stats]", + "ultraplot[circos,docs,stats]", ] circos = [ "pycirclize>=1.10.1", From fc744a3e932dfe352d53b27bf8621b7d46711e86 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Tue, 8 Sep 2026 15:15:33 +0200 Subject: [PATCH 3/3] Add tombi-lint hook to pre-commit configuration --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e655f29d..d3b08d786 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,3 +19,6 @@ repos: rev: v1.5.2 hooks: - id: tombi-format + args: ["--offline"] + - id: tombi-lint + args: ["--offline"]