Skip to content

Commit 4633185

Browse files
committed
Remove all shebangs from Python modules and checker
As discussed, Python modules which aren't intended to be invoked as scripts should not include a shebang line. Fix kubernetes-client#12.
1 parent 4b8e89f commit 4633185

17 files changed

+0
-34
lines changed

config/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/dateutil.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2017 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/dateutil_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/exec_provider.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/exec_provider_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/incluster_config.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/incluster_config_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/kube_config.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

config/kube_config_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

hack/boilerplate/boilerplate.py.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright YEAR The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

stream/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2017 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

stream/stream.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

stream/ws_client.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

stream/ws_client_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2018 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

watch/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

watch/watch.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

watch/watch_test.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# Copyright 2016 The Kubernetes Authors.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)