From 268b1f5bd572d9468d2500e40e160fd38f28c350 Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Thu, 28 Nov 2024 20:51:53 -0400 Subject: [PATCH] fix(pre-commit): Add more tools for pre-commit hooks (#127) --- .pre-commit-config.yaml | 11 ++++++++++- src/makim/core.py | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b56206..1e31990 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,9 +3,18 @@ default_stages: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.6.0 hooks: + - id: trailing-whitespace - id: end-of-file-fixer + - id: check-json + - id: check-toml + - id: check-xml + - id: debug-statements + - id: check-builtin-literals + - id: check-case-conflict + - id: check-docstring-first + - id: detect-private-key - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.1.0" diff --git a/src/makim/core.py b/src/makim/core.py index f5ae971..0994407 100644 --- a/src/makim/core.py +++ b/src/makim/core.py @@ -814,7 +814,7 @@ def process_matrix_combination(matrix_vars: dict[str, Any]) -> None: if not host_config: MakimLogs.raise_error( f""" - Remote host '{remote_host}' configuration + Remote host '{remote_host}' configuration not found. """, MakimError.REMOTE_HOST_NOT_FOUND,