Skip to content

Commit ae5acf1

Browse files
authored
Merge pull request #109 from mboersma/test-stylee
chore(dev_requirements): upgrade flake8 to 3.2.1
2 parents 463b537 + d6b188d commit ae5acf1

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ setup-venv:
1616
test: test-style test-functional
1717

1818
test-style:
19-
cd rootfs && flake8 --show-pep8 --show-source --config=setup.cfg .
19+
cd rootfs && flake8 --show-source --config=setup.cfg .
2020

2121
test-functional:
2222
@echo "Implement functional tests in _tests directory"

rootfs/deploy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def get_registry_name():
5858
elif registryLocation == "gcr":
5959
return hostname + "/" + os.getenv('DEIS_REGISTRY_GCS_PROJ_ID')
6060
else:
61-
return os.getenv("DEIS_REGISTRY_SERVICE_HOST") + ":" + os.getenv("DEIS_REGISTRY_SERVICE_PORT") # noqa: E501
61+
return "{}:{}".format(os.getenv("DEIS_REGISTRY_SERVICE_HOST"),
62+
os.getenv("DEIS_REGISTRY_SERVICE_PORT"))
6263

6364

6465
def download_file(tar_path):
@@ -80,6 +81,7 @@ def download_file(tar_path):
8081
]
8182
subprocess.check_call(command)
8283

84+
8385
tar_path = os.getenv('TAR_PATH')
8486
if tar_path:
8587
if os.path.exists("/var/run/secrets/deis/objectstore/creds/"):

rootfs/dev_requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
flake8==2.5.4
2-
1+
flake8==3.2.1

0 commit comments

Comments
 (0)