Appease flake8 on the linting
This commit is contained in:
parent
4e9aefcafd
commit
c531faec52
@ -11,7 +11,7 @@ steps:
|
|||||||
- name: run flake8
|
- name: run flake8
|
||||||
image: alpine/flake8:3.9.0
|
image: alpine/flake8:3.9.0
|
||||||
commands:
|
commands:
|
||||||
- flake8 bin/app-json.py
|
- flake8 --max-line-length 100 bin/app-json.py
|
||||||
|
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
image: decentral1se/docker-dind-bats-kcov
|
image: decentral1se/docker-dind-bats-kcov
|
||||||
|
@ -171,7 +171,7 @@ def get_app_versions(app_path, cached_apps_json):
|
|||||||
tags = _run_cmd("git tag --list").split()
|
tags = _run_cmd("git tag --list").split()
|
||||||
|
|
||||||
if not tags:
|
if not tags:
|
||||||
log.info(f"No tags discovered, moving on")
|
log.info("No tags discovered, moving on")
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
initial_branch = _run_cmd("git rev-parse --abbrev-ref HEAD")
|
initial_branch = _run_cmd("git rev-parse --abbrev-ref HEAD")
|
||||||
|
Loading…
Reference in New Issue
Block a user