Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#829)
Browse files Browse the repository at this point in the history
<!--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>
  • Loading branch information
pre-commit-ci[bot] committed Feb 7, 2023
1 parent 77f2170 commit adb63cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
Expand Down
1 change: 0 additions & 1 deletion src/corsheaders/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def _https_referer_replace(self, request: HttpRequest) -> None:
and origin
and "ORIGINAL_HTTP_REFERER" not in request.META
):

url = urlsplit(origin)
if (
not conf.CORS_ALLOW_ALL_ORIGINS
Expand Down

0 comments on commit adb63cb

Please sign in to comment.