diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2548f5941..30f6b7bb0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,12 +28,12 @@ repos: - id: rst-backticks - id: rst-directive-colons - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.5.0 + rev: v2.5.1 hooks: - id: prettier types_or: [javascript, css] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.3.0 + rev: v8.4.0 hooks: - id: eslint files: \.js?$ @@ -41,7 +41,7 @@ repos: args: - --fix - repo: https://github.com/psf/black - rev: 21.11b1 + rev: 21.12b0 hooks: - id: black language_version: python3 diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py index 41063c573..9f998b18f 100644 --- a/debug_toolbar/panels/cache.py +++ b/debug_toolbar/panels/cache.py @@ -148,7 +148,6 @@ def __getitem__(self, alias): actual_cache = super().__getitem__(alias) return CacheStatTracker(actual_cache) - else: class CacheHandlerPatch(CacheHandler):