Skip to content

Video editing with Python

Update black version in CI and pre-commit config (#1534)

Álvaro Mondéjar778233d0e41b
diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml
index 3c881a01..1c9ae1ac 100644
--- a/.github/workflows/format_check.yml
+++ b/.github/workflows/format_check.yml
@@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
- name: Black
- uses: psf/black@stable # already includes args "--check --diff"
+ uses: psf/[email protected] # already includes args "--check --diff"
flake8:
runs-on: ubuntu-latest
name: Flake8
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3311099c..742457f1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@ repos:
- '--filter-files'
files: \.py$
- repo: https://github.com/psf/black
- rev: stable
+ rev: 20.8b1
hooks:
- id: black
language_version: python3.6