Skip to content

Commit 3839cc6

Browse files
committed
Merge branch 'main' into pygments
* main: [pre-commit.ci] pre-commit autoupdate (django-commons#2107) Reword a changelog entry
2 parents ad5d3a4 + 0d9b80e commit 3839cc6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
- id: biome-check
3030
verbose: true
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: 'v0.9.10'
32+
rev: 'v0.11.0'
3333
hooks:
3434
- id: ruff
3535
args: [--fix, --exit-non-zero-on-fix]
@@ -39,6 +39,6 @@ repos:
3939
hooks:
4040
- id: pyproject-fmt
4141
- repo: https://github.com/abravalheri/validate-pyproject
42-
rev: v0.23
42+
rev: v0.24
4343
hooks:
4444
- id: validate-pyproject

debug_toolbar/panels/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(self, *args, **kwargs):
6868
self.hits = 0
6969
self.misses = 0
7070
self.calls = []
71-
self.counts = {name: 0 for name in WRAPPED_CACHE_METHODS}
71+
self.counts = dict.fromkeys(WRAPPED_CACHE_METHODS, 0)
7272

7373
@classmethod
7474
def current_instance(cls):

docs/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Pending
1616
* Added a Makefile target (``make help``) to get a quick overview
1717
of each target.
1818
* Avoided reinitializing the staticfiles storage during instrumentation.
19-
* Fix for exception-unhandled "forked" Promise chain in rebound window.fetch
19+
* Avoided a "forked" Promise chain in the rebound ``window.fetch`` function
20+
with missing exception handling.
2021

2122
5.0.1 (2025-01-13)
2223
------------------

0 commit comments

Comments
 (0)