1
0
mirror of https://github.com/kkroening/ffmpeg-python.git synced 2025-04-06 04:15:44 +08:00

Fix Black in GHA for Python 2.7 ()

(At least until Python 2.7 support is finally eliminated)
This commit is contained in:
Karl Kroening 2022-07-11 13:51:06 -07:00 committed by GitHub
parent ed70f2e619
commit ef00863269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: psf/black@21.12b0 # TODO: upgrade after dropping Python 2 support.
with:
src: ffmpeg # TODO: also format `examples`.
version: 21.12b0
- name: Black
run: |
# TODO: use standard `psf/black` action after dropping Python 2 support.
pip install black==21.12b0 click==8.0.2 # https://stackoverflow.com/questions/71673404
black ffmpeg --check --color --diff