Compare commits

..

2 commits

Author SHA1 Message Date
0d140bfc21 CI: use pre-commit to run all tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-22 00:34:30 +01:00
4d4a3839fa Introduce pre-commit hooks and code cleaning 2024-01-22 00:34:17 +01:00
2 changed files with 3 additions and 2 deletions

View file

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

View file

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