From 113719ad680ec60c49a3d04a234fddda320ec586 Mon Sep 17 00:00:00 2001 From: "Felt, Nicholas" Date: Wed, 24 Jul 2024 14:46:21 -0700 Subject: [PATCH] ci: Convert toml-sort to an actual pre-commit hook, not a local hook --- .pre-commit-config.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f6f6939..6efa8781 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,6 @@ ci: autoupdate_schedule: quarterly skip: - check-poetry - - toml-sort - pylint - pyright - pyright-verifytypes @@ -97,14 +96,12 @@ repos: rev: v1.0.0 hooks: - id: check-poetry + - repo: https://github.com/pappasam/toml-sort + rev: v0.23.1 + hooks: + - id: toml-sort-fix - repo: local hooks: - - id: toml-sort - name: toml-sort - entry: toml-sort - language: system - types: [toml] - pass_filenames: true - id: pylint name: pylint entry: pylint