Skip to content

Commit b2f2f5a

Browse files
committed
Update formatting with scripts/update-pep8.sh
1 parent d42d43d commit b2f2f5a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

kubernetes/config/incluster_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ConfigException(Exception):
3636

3737

3838
class InClusterConfigLoader(object):
39+
3940
def __init__(self, host_env_name, port_env_name, token_filename,
4041
cert_filename, environ=os.environ):
4142
self._host_env_name = host_env_name

kubernetes/config/incluster_config_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
from kubernetes.client import configuration
2020

21-
from .incluster_config import (ConfigException, InClusterConfigLoader,
22-
_SERVICE_HOST_ENV_NAME, _SERVICE_PORT_ENV_NAME)
21+
from .incluster_config import (_SERVICE_HOST_ENV_NAME, _SERVICE_PORT_ENV_NAME,
22+
ConfigException, InClusterConfigLoader)
2323

2424
_TEST_TOKEN = "temp_token"
2525
_TEST_HOST = "127.0.0.1"

scripts/preprocess_spec.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import sys
1919
from collections import OrderedDict
2020

21-
2221
# these four constants are shown as part of this example in []:
2322
# "[watch]Pod[List]" is the deprecated version of "[list]Pod?[watch]=True"
2423
WATCH_OP_PREFIX = "watch"

scripts/update-pep8.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SAVEIFS=$IFS
4646
trap "IFS=$SAVEIFS" EXIT SIGINT
4747
IFS=,
4848

49-
SOURCES="${CLIENT_ROOT}/util/*.py,${SCRIPT_ROOT}/*.py,${CLIENT_ROOT}/examples/*.py"
49+
SOURCES="${SCRIPT_ROOT}/../setup.py,${CLIENT_ROOT}/config/*.py,${CLIENT_ROOT}/watch/*.py,${SCRIPT_ROOT}/*.py,${CLIENT_ROOT}/../examples/*.py"
5050

5151
echo "--- Updating tools"
5252
pip install --upgrade pep8

0 commit comments

Comments
 (0)