From eb5780cdb314105bf0e6de15127513f758e6e928 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sun, 24 Sep 2023 03:10:06 +0200 Subject: [PATCH] Add tomlsort to precommit --- .pre-commit-config.yaml | 4 ++++ pyproject.toml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06192db1..00f7a5bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,3 +41,7 @@ repos: rev: v0.9.0.5 hooks: - id: shellcheck + - repo: https://github.com/pappasam/toml-sort + rev: v0.23.1 + hooks: + - id: toml-sort-fix diff --git a/pyproject.toml b/pyproject.toml index 83762e9c..f8431beb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ +[tool.codespell] +write = '' + [tool.snakefmt] include = '\.smk$|^Snakefile' exclude = '' - -[tool.codespell] -write = ''