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