Skip to content

Commit adb63cb

Browse files
[pre-commit.ci] pre-commit autoupdate (#829)
<!--pre-commit.ci start--> updates: - [github.com/psf/black: 22.12.0 → 23.1.0](psf/black@22.12.0...23.1.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 77f2170 commit adb63cb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
- id: pyupgrade
2626
args: [--py37-plus]
2727
- repo: https://github.com/psf/black
28-
rev: 22.12.0
28+
rev: 23.1.0
2929
hooks:
3030
- id: black
3131
- repo: https://github.com/adamchainz/blacken-docs

src/corsheaders/middleware.py

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def _https_referer_replace(self, request: HttpRequest) -> None:
6262
and origin
6363
and "ORIGINAL_HTTP_REFERER" not in request.META
6464
):
65-
6665
url = urlsplit(origin)
6766
if (
6867
not conf.CORS_ALLOW_ALL_ORIGINS

0 commit comments

Comments
 (0)