ci: switch to molecule v4
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8a281fe5ed
commit
2a32fd5252
@ -15,18 +15,18 @@ local PipelineLinting = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'python-format',
|
name: 'python-format',
|
||||||
image: 'python:3.10',
|
image: 'python:3.11',
|
||||||
environment: {
|
environment: {
|
||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install -qq yapf',
|
'pip install -qq yapf',
|
||||||
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
|
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'python-flake8',
|
name: 'python-flake8',
|
||||||
image: 'python:3.10',
|
image: 'python:3.11',
|
||||||
environment: {
|
environment: {
|
||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
|
@ -13,15 +13,15 @@ steps:
|
|||||||
- ansible-later
|
- ansible-later
|
||||||
|
|
||||||
- name: python-format
|
- name: python-format
|
||||||
image: python:3.10
|
image: python:3.11
|
||||||
commands:
|
commands:
|
||||||
- pip install -qq yapf
|
- pip install -qq yapf
|
||||||
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
|
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
|
|
||||||
- name: python-flake8
|
- name: python-flake8
|
||||||
image: python:3.10
|
image: python:3.11
|
||||||
commands:
|
commands:
|
||||||
- pip install -qq flake8
|
- pip install -qq flake8
|
||||||
- flake8
|
- flake8
|
||||||
@ -115,6 +115,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 51e450379a168bbaf51c9cda77ab9f52deddb59a6e937fc06f78b7c4c51f2df5
|
hmac: e03277d4397a64c77ebaecb7472dc26044745172e5be809ee63fad4ac4a0bc2a
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user