Compare commits

..

2 commits

Author SHA1 Message Date
b8e2023098 CI: use pre-commit to run all tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-01-22 00:27:07 +01:00
3c3f37bdc4 Introduce pre-commit hooks and code cleaning
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
2024-01-22 00:20:26 +01:00
2 changed files with 2 additions and 3 deletions

View file

@ -41,7 +41,7 @@ repos:
rev: v1.32.0 rev: v1.32.0
hooks: hooks:
- id: yamllint - id: yamllint
args: ["-d {extends: relaxed, rules: {line-length: disable}}", "-s"] ignore: .github/
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1 rev: v2.7.1
hooks: hooks:

View file

@ -1,8 +1,7 @@
---
steps: steps:
test-precommit: test-precommit:
group: test group: test
image: brenard/python-pre-commit image: brenard/python-pre-commit
commands: commands:
- python3 -m pip install --break-system-packages debian-parser requests urllib3 - python3 -m pip install debian-parser requests urllib3
- pre-commit run --all-files - pre-commit run --all-files