From 3d698136fb9a72c88f711bd71c6812c322409cdf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 22:08:51 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.0) - [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.2...5.0.4) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e59559e9..0397c5e01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + rev: v3.0.0-alpha.0 hooks: - id: prettier exclude: src/furo/theme/.*|docs/(recommendations|reference/admonitions).md @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 5.0.2 + rev: 5.0.4 hooks: - id: flake8 From 225460f77baa9e46fdf24e3aa7006afbc4edb769 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 22:09:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/furo/assets/scripts/gumshoe-patched.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/furo/assets/scripts/gumshoe-patched.js b/src/furo/assets/scripts/gumshoe-patched.js index 78cee8458..a1973832f 100644 --- a/src/furo/assets/scripts/gumshoe-patched.js +++ b/src/furo/assets/scripts/gumshoe-patched.js @@ -145,7 +145,7 @@ document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, - document.documentElement.clientHeight + document.documentElement.clientHeight, ); }; @@ -333,7 +333,7 @@ Array.prototype.forEach.call(navItems, function (item) { // Get the content for the nav item var content = document.getElementById( - decodeURIComponent(item.hash.substr(1)) + decodeURIComponent(item.hash.substr(1)), ); if (!content) return; @@ -462,5 +462,5 @@ // return Constructor; - } + }, );