Skip to content

Commit

Permalink
fix(pre-commit): Add more tools for pre-commit hooks (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Nov 29, 2024
1 parent c42ac6a commit 268b1f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/makim/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 268b1f5

Please sign in to comment.