Skip to content

Commit

Permalink
Merge pull request #1237 from uktrade/GREATUK-440-patch-vulnerable-pa…
Browse files Browse the repository at this point in the history
…ge-black

GREATUK-440 Fix Black vulnerable to Regular Expression Denial of Service
  • Loading branch information
hal274 authored Mar 28, 2024
2 parents 41cd421 + 5a84042 commit cf8cb40
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.3.0
hooks:
- id: black
# Config for black lives in pyproject.toml
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ faker==22.6.0
# via factory-boy
future==0.18.3
# via django-json-widget
greenlet==3.0.3
# via sqlalchemy
html5lib==1.1
# via xhtml2pdf
idna==3.6
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pytest-codecov
GitPython==3.1.41

# Pinned because pre-commit features specific versions
black==24.1.1
black==24.3.0
# Pinned pin dataclasses as 0.08 specified by black doesn't exist
dataclasses==0.06
blacken-docs==1.13.0
Expand Down
4 changes: 1 addition & 3 deletions requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ beautifulsoup4==4.12.3
# via directory-components
billiard==4.2.0
# via celery
black==24.1.1
black==24.3.0
# via
# -r requirements_test.in
# blacken-docs
Expand Down Expand Up @@ -193,8 +193,6 @@ gitdb==4.0.11
# via gitpython
gitpython==3.1.41
# via -r requirements_test.in
greenlet==3.0.3
# via sqlalchemy
html5lib==1.1
# via xhtml2pdf
idna==3.6
Expand Down

0 comments on commit cf8cb40

Please sign in to comment.