Skip to content

Commit c8918ed

Browse files
committed
show diff if error on black formatting
1 parent 91ad5b6 commit c8918ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: python -m pip install flake8 black
2525

2626
- name: check style with black
27-
run: python -m black mip --line-length=89 --check
27+
run: python -m black mip --line-length=89 --check --diff
2828

2929
- name: check for unused imports with flake8
3030
run: python -m flake8 mip --select=F401 --exclude=__init__.py

0 commit comments

Comments
 (0)