chore(poetry): add poetry checks to pre-commit (#2040)

This commit is contained in:
Sergio Garcia
2023-03-06 11:44:04 +01:00
committed by GitHub
parent 277dc7dd09
commit 0dde3fe483
3 changed files with 1492 additions and 1489 deletions

View File

@@ -32,6 +32,9 @@ jobs:
sed -E 's/.*"v([^"]+)".*/\1/' \
) && curl -L -o /tmp/hadolint "https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64" \
&& chmod +x /tmp/hadolint
- name: Poetry check
run: |
poetry lock --check
- name: Lint with flake8
run: |
poetry run flake8 . --ignore=E266,W503,E203,E501,W605,E128 --exclude contrib