diff --git a/.woodpecker.yml b/.woodpecker.yml index 557c80b..b117439 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,8 @@ -pipeline: - test-pylint: +--- +steps: + test-precommit: group: test - image: pipelinecomponents/pylint + image: brenard/python-pre-commit commands: - - python3 -m pip install debian-parser requests urllib3 - - pylint aptly-publish - - test-flake8: - group: test - image: pipelinecomponents/flake8 - commands: - - flake8 aptly-publish + - python3 -m pip install --break-system-packages debian-parser requests urllib3 + - pre-commit run --all-files