moved black to linting job

This commit is contained in:
Hendrik Schneider 2022-04-29 13:39:50 +02:00
parent daded0e04d
commit 595a90b9de

View file

@ -22,6 +22,10 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint with Black
run: |
black --check .
test:
strategy:
matrix:
@ -48,10 +52,6 @@ jobs:
pip install coverage black
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Black
run: |
black --check .
- name: Run tests
run: |
coverage3 run --source='./encrypted_fields' manage.py test