Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[meta] format with black python scripts #475

Merged
merged 4 commits into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .ci/jobs/elastic+helm-charts+master+template-lint-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- job:
name: elastic+helm-charts+master+lint-python
display-name: elastic / helm-charts - master - lint python
description: Master - lint python
scm:
- git:
wipe-workspace: 'True'
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail

make lint-python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the python dependencies need installed before this? Otherwise black might not be available I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, fixed in 8e0c169

2 changes: 2 additions & 0 deletions .ci/jobs/elastic+helm-charts+master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
projects:
- name: elastic+helm-charts+master+template-testing
current-parameters: true
- name: elastic+helm-charts+master+lint-python
current-parameters: true
- name: elastic+helm-charts+master+cluster-creation
current-parameters: true
- multijob:
Expand Down
20 changes: 20 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request+lint-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- job:
name: elastic+helm-charts+pull-request+lint-python
display-name: elastic / helm-charts - pull-request - lint python
description: Pull request - lint python
scm:
- git:
refspec: +refs/pull/*:refs/remotes/origin/pr/*
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail

make lint-python
3 changes: 3 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
- name: elastic+helm-charts+pull-request+template-testing
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- name: elastic+helm-charts+pull-request+lint-python
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- name: elastic+helm-charts+pull-request+cluster-creation
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include helpers/common.mk
Loading