You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ git commit -m "feat: add k8s pre-commit validator"
check for added large files..............................................Passed
check for merge conflicts................................................Passed
forbid new submodules................................(no files to check)Skipped
don't commit to branch...................................................Passed
check for broken symlinks............................(no files to check)Skipped
mixed line ending........................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
check for case conflicts.................................................Passed
k8svalidate..............................................................Failed
- hook id: k8svalidate
- exit code: 1
Traceback (most recent call last):
File "/home/dmitry/.cache/pre-commit/repop8pq32lu/py_env-python3.9/bin/k8svalidate", line 117, in <module>
rc = main()
File "/home/dmitry/.cache/pre-commit/repop8pq32lu/py_env-python3.9/bin/k8svalidate", line 95, in main
utils.validate(doc, version, args.strict)
File "/home/dmitry/.cache/pre-commit/repop8pq32lu/py_env-python3.9/lib/python3.9/site-packages/kubernetes_validate/utils.py", line 61, in validate
if desired_version.startswith('v'):
AttributeError: 'list' object has no attribute 'startswith'
my precommit config
The text was updated successfully, but these errors were encountered: