Skip to content

Commit 1e0f149

Browse files
[pre-commit.ci] pre-commit autoupdate (#1738)
1 parent c59e2aa commit 1e0f149

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
args:
5555
- --fix
5656
- repo: https://github.com/psf/black
57-
rev: 22.12.0
57+
rev: 23.1.0
5858
hooks:
5959
- id: black
6060
language_version: python3

debug_toolbar/decorators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def render_with_toolbar_language(view):
2525

2626
@functools.wraps(view)
2727
def inner(request, *args, **kwargs):
28-
2928
lang = dt_settings.get_config()["TOOLBAR_LANGUAGE"] or get_language()
3029
with language_override(lang):
3130
return view(request, *args, **kwargs)

debug_toolbar/panels/staticfiles.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class DebugConfiguredStorage(LazyObject):
5353
"""
5454

5555
def _setup(self):
56-
5756
configured_storage_cls = get_storage_class(settings.STATICFILES_STORAGE)
5857

5958
class DebugStaticFilesStorage(configured_storage_cls):

0 commit comments

Comments
 (0)