Skip to content

Commit

Permalink
Merge pull request #15665 from justinsb/verify_boilerplate_dont_ignor…
Browse files Browse the repository at this point in the history
…e_no_pythong

verify-boilerplate: stricter error checking
  • Loading branch information
k8s-ci-robot committed Jul 18, 2023
2 parents e18eaae + b494ad9 commit c2f64a5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hack/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright 2020 The Kubernetes Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright 2015 The Kubernetes Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright YEAR The Kubernetes Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion hack/mkdocs_macros/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright 2020 The Kubernetes Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion hack/mkdocs_macros/feature_stability_table.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Copyright 2020 The Kubernetes Authors.
#
Expand Down
4 changes: 4 additions & 0 deletions hack/verify-boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -o errexit
set -o nounset
set -o pipefail

. "$(dirname "${BASH_SOURCE[0]}")/common.sh"

files_need_boilerplate=()
Expand Down

0 comments on commit c2f64a5

Please sign in to comment.