Skip to content

Commit e0b43f6

Browse files
committed
fix: upgraded pyblack for cve CVE-2024-21503
1 parent f4af056 commit e0b43f6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/preflight_check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: psf/black@stable
2929
with:
3030
options: "--check -l 79 --exclude docs/"
31-
version: "22.8.0"
31+
version: "24.3.0"
3232
- name: Format checker with isort
3333
run: isort --check-only -m 3 -l 79 --profile=black .
3434
- name: Lint with flake8
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-22.04
3838
strategy:
3939
matrix:
40-
python-version: ["3.7", "3.8", "3.9", "3.10"]
40+
python-version: ["3.8", "3.9", "3.10"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- name: Setup Python ${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
99
- repo: https://github.com/psf/black
10-
rev: 22.8.0
10+
rev: 24.3.0
1111
hooks:
1212
- id: black
1313
args: [--line-length=79]

0 commit comments

Comments
 (0)