diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d92aa1a..c09b184 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -20,7 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8==3.8.1 flake8-bugbear flake8-comprehensions isort==4.3.21 - pip install black==22.3.0 + pip install black==24.2.0 flake8 --version - name: Lint run: | diff --git a/linter.sh b/linter.sh index 94fe194..9cfaf07 100755 --- a/linter.sh +++ b/linter.sh @@ -4,9 +4,9 @@ # Run this script at project root by "./linter.sh" before you commit. { - black --version | grep -E "22.3.0" > /dev/null + black --version | grep -E "24.2.0" > /dev/null } || { - echo "Linter requires 'black==22.3.0' !" + echo "Linter requires 'black==24.2.0' !" exit 1 }