mirror of
https://github.com/mandiant/capa.git
synced 2026-03-12 21:23:12 -07:00
Update black step to continue on error
Modified the black formatting step to continue on error.
This commit is contained in:
4
.github/workflows/black-format.yml
vendored
4
.github/workflows/black-format.yml
vendored
@@ -38,7 +38,9 @@ jobs:
|
|||||||
- name: Run isort
|
- name: Run isort
|
||||||
run: pre-commit run isort --all-files
|
run: pre-commit run isort --all-files
|
||||||
|
|
||||||
- name: Run black
|
- name: Run black/continue
|
||||||
|
# black returns non-zero error code after formatting, which is what we expect
|
||||||
|
continue-on-error: true
|
||||||
run: pre-commit run black --all-files
|
run: pre-commit run black --all-files
|
||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
|
|||||||
Reference in New Issue
Block a user