Require black formatting to pass in CI
This commit is contained in:
Родитель
1d0f618a61
Коммит
5d2c18bd3f
|
@ -90,10 +90,9 @@ jobs:
|
|||
python network-api/manage.py block_inventory
|
||||
python network-api/manage.py compilemessages
|
||||
- name: Run linting
|
||||
run: flake8 tasks.py network-api/
|
||||
- name: Run format check
|
||||
run: black . --check
|
||||
continue-on-error: true
|
||||
run: |
|
||||
flake8 tasks.py network-api/
|
||||
black . --check
|
||||
- name: Run type checks
|
||||
run: mypy network-api
|
||||
- name: Run Tests
|
||||
|
|
Загрузка…
Ссылка в новой задаче