Skip to content

[pre-commit.ci] pre-commit autoupdate #2107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 17, 2025
commit be5b36dce9a104ecf48b06fc80c271be17ecc147
2 changes: 1 addition & 1 deletion debug_toolbar/panels/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, *args, **kwargs):
self.hits = 0
self.misses = 0
self.calls = []
self.counts = {name: 0 for name in WRAPPED_CACHE_METHODS}
self.counts = dict.fromkeys(WRAPPED_CACHE_METHODS, 0)

@classmethod
def current_instance(cls):
Expand Down