Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#632)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/tox-dev/tox-ini-fmt: 1.4.1 → 1.5.0](tox-dev/tox-ini-fmt@1.4.1...1.5.0)
- [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](psf/black-pre-commit-mirror@24.10.0...25.1.0)
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 6, 2025
1 parent 80b8941 commit fd735f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.4.1
rev: 1.5.0
hooks:
- id: tox-ini-fmt
- repo: https://github.com/rstcheck/rstcheck
Expand All @@ -46,7 +46,7 @@ repos:
- id: django-upgrade
args: [--target-version, '4.2']
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
Expand All @@ -56,7 +56,7 @@ repos:
additional_dependencies:
- black==23.1.0
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
name: isort (python)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_django_whitenoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_file_served_from_static_dir(finder_static_files, finder_server):


def test_non_ascii_requests_safely_ignored(finder_server):
response = finder_server.get(settings.STATIC_URL + "test\u263A")
response = finder_server.get(settings.STATIC_URL + "test\u263a")
assert 404 == response.status_code


Expand Down
2 changes: 1 addition & 1 deletion tests/test_whitenoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_other_requests_passed_through(server):


def test_non_ascii_requests_safely_ignored(server):
response = server.get(f"/{AppServer.PREFIX}/test\u263A")
response = server.get(f"/{AppServer.PREFIX}/test\u263a")
assert_is_default_response(response)


Expand Down

0 comments on commit fd735f6

Please sign in to comment.