2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Add pre-commit to the stack

This commit is contained in:
Matthias
2022-05-27 18:52:34 +02:00
parent 09a4fab0d6
commit d48500dbb5

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: