8000 Fix Black in GHA for Python 2.7 (#680) · stanleyjacob/ffmpeg-python@ef00863 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit ef00863

Browse files
authored
Fix Black in GHA for Python 2.7 (kkroening#680)
(At least until Python 2.7 support is finally eliminated)
1 parent ed70f2e commit ef00863

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ jobs:
3838
runs-on: ubuntu-20.04
3939
steps:
4040
- uses: actions/checkout@v2
41-
- uses: psf/black@21.12b0 # TODO: upgrade after dropping Python 2 support.
42-
with:
43-
src: ffmpeg # TODO: also format `examples`.
529E 44-
version: 21.12b0
41+
- name: Black
42+
run: |
43+
# TODO: use standard `psf/black` action after dropping Python 2 support.
44+
pip install black==21.12b0 click==8.0.2 # https://stackoverflow.com/questions/71673404
45+
black ffmpeg --check --color --diff

0 commit comments

Comments
 (0)
0