ci: switch to molecule v4
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-12-21 09:14:26 +01:00
parent c7a4c7fe15
commit 703f8b4b13
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 7 additions and 7 deletions

View File

@ -15,18 +15,18 @@ local PipelineLinting = {
},
{
name: 'python-format',
image: 'python:3.10',
image: 'python:3.11',
environment: {
PY_COLORS: 1,
},
commands: [
'pip install -qq yapf',
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
],
},
{
name: 'python-flake8',
image: 'python:3.10',
image: 'python:3.11',
environment: {
PY_COLORS: 1,
},

View File

@ -13,15 +13,15 @@ steps:
- ansible-later
- name: python-format
image: python:3.10
image: python:3.11
commands:
- pip install -qq yapf
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
environment:
PY_COLORS: 1
- name: python-flake8
image: python:3.10
image: python:3.11
commands:
- pip install -qq flake8
- flake8
@ -115,6 +115,6 @@ depends_on:
---
kind: signature
hmac: 9ef4e2304aad5cd33609f240f737d04146dd70281b858cd004c596e69b07f0b5
hmac: 4256e4f8546786b043be99d39176f7fd95cc8ab1ad30de4e9a33290a867bad32
...