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

View File

@@ -55,10 +55,11 @@ repos:
exclude: contrib
args: ["--ignore=E266,W503,E203,E501,W605"]
- repo: https://github.com/haizaar/check-pipfile-lock
rev: v0.0.5
- repo: https://github.com/python-poetry/poetry
rev: 1.4.0 # add version here
hooks:
- id: check-pipfile-lock
- id: poetry-check
- id: poetry-lock
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta

2971
poetry.lock generated

File diff suppressed because it is too large Load Diff