Skip to content

Commit fd735f6

Browse files
[pre-commit.ci] pre-commit autoupdate (#632)
* [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>
1 parent 80b8941 commit fd735f6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: pyproject-fmt
2323
- repo: https://github.com/tox-dev/tox-ini-fmt
24-
rev: 1.4.1
24+
rev: 1.5.0
2525
hooks:
2626
- id: tox-ini-fmt
2727
- repo: https://github.com/rstcheck/rstcheck
@@ -46,7 +46,7 @@ repos:
4646
- id: django-upgrade
4747
args: [--target-version, '4.2']
4848
- repo: https://github.com/psf/black-pre-commit-mirror
49-
rev: 24.10.0
49+
rev: 25.1.0
5050
hooks:
5151
- id: black
5252
- repo: https://github.com/adamchainz/blacken-docs
@@ -56,7 +56,7 @@ repos:
5656
additional_dependencies:
5757
- black==23.1.0
5858
- repo: https://github.com/pycqa/isort
59-
rev: 5.13.2
59+
rev: 6.0.0
6060
hooks:
6161
- id: isort
6262
name: isort (python)

tests/test_django_whitenoise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_file_served_from_static_dir(finder_static_files, finder_server):
159159

160160

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

165165

tests/test_whitenoise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_other_requests_passed_through(server):
181181

182182

183183
def test_non_ascii_requests_safely_ignored(server):
184-
response = server.get(f"/{AppServer.PREFIX}/test\u263A")
184+
response = server.get(f"/{AppServer.PREFIX}/test\u263a")
185185
assert_is_default_response(response)
186186

187187

0 commit comments

Comments
 (0)