mirror of
https://github.com/jazzband/django-fernet-encrypted-fields.git
synced 2026-03-16 22:40:27 +00:00
moved black to linting job
This commit is contained in:
parent
daded0e04d
commit
595a90b9de
1 changed files with 4 additions and 4 deletions
8
.github/workflows/lint-and-test.yml
vendored
8
.github/workflows/lint-and-test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue