File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ k8s-validate [--kubernetes-version X.X.X] [--exclude glob-pattern] files
1818
1919Add a section similar to this to your .pre-commit-hooks.yaml:
2020 - repo: https://github.com/Agilicus/pre-commit-hook-k8svalidate.git
21- rev: v0.0.4
21+ rev: v0.0.5
2222 hooks:
2323 - id: k8svalidate
2424 args: [ --exclude, "* .patch.yaml"]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ SPDX-License-Identifier: Apache-2.0.
77import argparse
88import glob
99import itertools
10- import os
1110import sys
1211
1312import jsonschema
@@ -110,6 +109,6 @@ if __name__ == "__main__":
110109 rc = main ()
111110 if not rc :
112111 print ("Overall result: fail" , file = sys .stderr )
113- os .exit (1 )
112+ sys .exit (1 )
114113 else :
115- os .exit (0 )
114+ sys .exit (0 )
You can’t perform that action at this time.
0 commit comments