From f2865621727e352da513ae78d5e9f34ca33f3c42 Mon Sep 17 00:00:00 2001 From: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:18:25 +0100 Subject: [PATCH] Chore: Update pre-commit contents to match ITR-examples Signed-off-by: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> --- .pre-commit-config.yaml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7d4ab1..52a7ed5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,19 +27,6 @@ repos: # https://pre-commit.com/#top_level-default_language_version language_version: python3.11 - - repo: https://github.com/pre-commit/mirrors-eslint - rev: 'v8.51.0' - hooks: - - id: eslint - files: \^*.toml - types: [file] - additional_dependencies: - - eslint - - eslint-config-google - - eslint-loader - - eslint-plugin-react - - babel-eslint - - repo: https://github.com/pycqa/flake8 rev: '6.1.0' hooks: @@ -49,3 +36,13 @@ repos: rev: 'v1.6.1' hooks: - id: mypy + + - repo: local + hooks: + - id: tomllint + name: "Script: scripts/tomllint.sh" + language: script + # pass_filenames: false + files: \^*.toml + types: [file] + entry: scripts/tomllint.sh .