diff --git a/.ci/jobs/elastic+helm-charts+master+template-lint-python.yml b/.ci/jobs/elastic+helm-charts+master+template-lint-python.yml index 17a91b0cd..25048d9e4 100644 --- a/.ci/jobs/elastic+helm-charts+master+template-lint-python.yml +++ b/.ci/jobs/elastic+helm-charts+master+template-lint-python.yml @@ -11,7 +11,7 @@ type: slave name: label values: - - docker&&virtual + - docker&&virtual&&ubuntu-18.04 builders: - shell: |- #!/usr/local/bin/runbld diff --git a/.ci/jobs/elastic+helm-charts+pull-request+lint-python.yml b/.ci/jobs/elastic+helm-charts+pull-request+lint-python.yml index 5b696a139..5ec00f723 100644 --- a/.ci/jobs/elastic+helm-charts+pull-request+lint-python.yml +++ b/.ci/jobs/elastic+helm-charts+pull-request+lint-python.yml @@ -11,7 +11,7 @@ type: slave name: label values: - - docker&&virtual + - docker&&virtual&&ubuntu-18.04 builders: - shell: |- #!/usr/local/bin/runbld diff --git a/helpers/common.mk b/helpers/common.mk index 6334908df..8ced63fca 100644 --- a/helpers/common.mk +++ b/helpers/common.mk @@ -29,7 +29,7 @@ lint: ## Lint helm templates .PHONY: lint-python lint-python: ## Lint python scripts - black --diff --check . + black --diff --check --exclude='ve/|venv/' . .PHONY: pytest pytest: ## Run python tests