Update formatting with scripts/update-pep8.sh

This commit is contained in:
mbohlool 2016-11-23 13:34:52 -08:00
parent d42d43d539
commit b2f2f5ad23
4 changed files with 4 additions and 4 deletions

View File

@ -36,6 +36,7 @@ class ConfigException(Exception):
class InClusterConfigLoader(object):
def __init__(self, host_env_name, port_env_name, token_filename,
cert_filename, environ=os.environ):
self._host_env_name = host_env_name

View File

@ -18,8 +18,8 @@ import unittest
from kubernetes.client import configuration
from .incluster_config import (ConfigException, InClusterConfigLoader,
_SERVICE_HOST_ENV_NAME, _SERVICE_PORT_ENV_NAME)
from .incluster_config import (_SERVICE_HOST_ENV_NAME, _SERVICE_PORT_ENV_NAME,
ConfigException, InClusterConfigLoader)
_TEST_TOKEN = "temp_token"
_TEST_HOST = "127.0.0.1"

View File

@ -18,7 +18,6 @@ import os.path
import sys
from collections import OrderedDict
# these four constants are shown as part of this example in []:
# "[watch]Pod[List]" is the deprecated version of "[list]Pod?[watch]=True"
WATCH_OP_PREFIX = "watch"

View File

@ -46,7 +46,7 @@ SAVEIFS=$IFS
trap "IFS=$SAVEIFS" EXIT SIGINT
IFS=,
SOURCES="${CLIENT_ROOT}/util/*.py,${SCRIPT_ROOT}/*.py,${CLIENT_ROOT}/examples/*.py"
SOURCES="${SCRIPT_ROOT}/../setup.py,${CLIENT_ROOT}/config/*.py,${CLIENT_ROOT}/watch/*.py,${SCRIPT_ROOT}/*.py,${CLIENT_ROOT}/../examples/*.py"
echo "--- Updating tools"
pip install --upgrade pep8