Skip to content

Video editing with Python

Switch Black GitHub action to the official working version (#1337)

Tom Burrowsb23cc69cebf9
diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml
index a785b014..3a8c4915 100644
--- a/.github/workflows/format_check.yml
+++ b/.github/workflows/format_check.yml
@@ -7,12 +7,11 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- - name: Checkout
- uses: actions/checkout@v2
+ - uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v2
- name: Black
- uses: lgeiger/[email protected]
- with:
- args: "--check --diff --target-version py36 $GITHUB_WORKSPACE"
+ uses: psf/black@stable # already includes args "--check --diff"
flake8:
runs-on: ubuntu-latest
steps: