Using the following config on a windows machine causes a failure. It appears to be related to path seperators I believe.
I can confirm that python is installed and available at C:\Users\Redacted\.cache\pre-commit\repoxpuz4pbs\py_env-python3.13\Scripts\python.exe
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
args: [--allow-multiple-documents]
- repo: https://github.com/Agilicus/pre-commit-hook-k8svalidate.git
rev: v0.2.0
hooks:
- id: k8svalidate
files: .ya?ml$
Error in question
k8svalidate..............................................................Failed
- hook id: k8svalidate
- exit code: 1
Executable `C:UsersRedacted.cachepre-commitrepoxpuz4pbspy_env-python3.13Scriptspython.EXE` not found
pre-commit 4.2.0
Using the following config on a windows machine causes a failure. It appears to be related to path seperators I believe.
I can confirm that python is installed and available at
C:\Users\Redacted\.cache\pre-commit\repoxpuz4pbs\py_env-python3.13\Scripts\python.exeError in question
pre-commit 4.2.0