Add pre-commit to the stack

This commit is contained in:
Matthias 2022-05-27 18:52:34 +02:00
parent 09a4fab0d6
commit d48500dbb5
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -117,9 +117,18 @@ jobs:
npx markuplint InvenTree/templates/InvenTree/*.html
npx markuplint InvenTree/templates/InvenTree/settings/*.html
pre-commit:
name: pre-commit rules are followed
needs: pep_style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.3
python:
name: python bindings
needs: pep_style
needs: pre-commit
runs-on: ubuntu-latest
env: