From d6eae5342fd1f731bbc60392428a9e0529e1de32 Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Thu, 2 Feb 2023 11:41:23 +0100 Subject: [PATCH] build: upgrade Black version in `requirements-dev.txt` and `.github/workflows/main.yml`. --- .github/workflows/main.yml | 2 ++ requirements-dev.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e98142e8c4..5922b56b51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,8 @@ jobs: - name: Check with black uses: psf/black@stable with: + # Version of Black should match the versions set in `requirements-dev.txt` + version: "~=23.1.0" options: --check --diff - name: Check Typing (mypy) #continue-on-error: true diff --git a/requirements-dev.txt b/requirements-dev.txt index 5eb49eed28..fe90d80f30 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,7 @@ -r requirements-test.txt pytest~=6.2.5 -black~=22.1.0 +# Version of Black should match the versions set in `.github/workflows/main.yml` +black~=23.1.0 mypy~=0.931 pyinstaller~=4.8 checksumdir~=1.2.0