From ab213ef9c85175efc1894f3a7f38875a67644b5c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 18:21:45 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#1538) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/mirrors-prettier: v2.5.0 → v2.5.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.0...v2.5.1) - [github.com/pre-commit/mirrors-eslint: v8.3.0 → v8.4.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.3.0...v8.4.0) - [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0) * [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> --- .pre-commit-config.yaml | 6 +++--- debug_toolbar/panels/cache.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) 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):