diff --git a/.drone.jsonnet b/.drone.jsonnet index 5b86f88..b56163b 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -25,6 +25,19 @@ local PipelineLint = { arch: 'amd64', }, steps: [ + { + name: 'yapf', + image: 'python:3.9', + environment: { + PY_COLORS: 1, + }, + commands: [ + 'git fetch -tq', + 'pip install poetry poetry-dynamic-versioning -qq', + 'poetry install -q', + 'poetry run yapf -dr ./dockertidy', + ], + }, { name: 'flake8', image: 'python:3.9', diff --git a/.drone.yml b/.drone.yml index c6e0a3c..bb1eb27 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,16 @@ platform: arch: amd64 steps: +- name: yapf + image: python:3.9 + commands: + - git fetch -tq + - pip install poetry poetry-dynamic-versioning -qq + - poetry install -q + - poetry run yapf -dr ./dockertidy + environment: + PY_COLORS: 1 + - name: flake8 image: python:3.9 commands: @@ -664,6 +674,6 @@ depends_on: --- kind: signature -hmac: 951a750ab414f65ebb0985f3d93ee20f8ebc5e70505d0e918062560630271b42 +hmac: 63ae695973cbf7b43322468ffe5c50061ff6649cc3b2d8e64e2903bbca1468e9 ...